Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00799/0.00799, allocations: 108.4 kB / 15.74 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 196.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4694/0.4694, allocations: 78.53 MB / 418.4 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 79.88 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4288, allocations: 68.18 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01417/0.443, allocations: 14.95 MB / 0.6343 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.4546, allocations: 4.612 MB / 0.6388 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.4588, allocations: 28 kB / 0.6388 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.4622, allocations: 0.775 MB / 0.6396 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009717/0.472, allocations: 2.557 MB / 0.6421 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.4761, allocations: 1.338 MB / 0.6434 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008858/0.4849, allocations: 4.891 MB / 0.6482 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.4869, allocations: 0.7979 MB / 0.649 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.4908, allocations: 1.891 MB / 0.6508 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004359/0.4952, allocations: 2.459 MB / 0.6532 GB, free: 7.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.4971, allocations: 400 kB / 0.6536 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.4998, allocations: 0.6326 MB / 0.6542 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.5017, allocations: 0.9689 MB / 0.6552 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004395/0.5061, allocations: 2.009 MB / 0.6571 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009187/0.5153, allocations: 5.326 MB / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5154, allocations: 0 / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5154, allocations: 0 / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.5156, allocations: 0 / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.04224/0.5579, allocations: 9.513 MB / 0.6716 GB, free: 4.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/0.558, allocations: 8.031 kB / 0.6716 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.5593, allocations: 290.5 kB / 0.6719 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5712, allocations: 1.747 MB / 0.6736 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.5771, allocations: 2.175 MB / 0.6757 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009543/0.5781, allocations: 0.6624 MB / 0.6764 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.5793, allocations: 243.8 kB / 0.6766 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.5871, allocations: 2.689 MB / 0.6792 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.5872, allocations: 0 / 0.6792 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.5874, allocations: 80 kB / 0.6793 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.5875, allocations: 48 kB / 0.6794 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.5935, allocations: 2.826 MB / 0.6821 GB, free: 9.891 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.6142, allocations: 11.01 MB / 0.6929 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.6261, allocations: 4.979 MB / 0.6977 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/0.6303, allocations: 1.931 MB / 0.6996 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/0.6307, allocations: 45.95 kB / 0.6997 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.6307, allocations: 56.56 kB / 0.6997 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.479e-06/0.6307, allocations: 0 / 0.6997 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1209/0.7516, allocations: 29.55 MB / 0.7286 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7517, allocations: 85.34 kB / 0.7286 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006106/0.7579, allocations: 2.902 MB / 0.7315 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008904/0.7588, allocations: 81.7 kB / 0.7316 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.7603, allocations: 1.264 MB / 0.7328 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/0.7619, allocations: 0.8974 MB / 0.7337 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/0.7652, allocations: 0.7444 MB / 0.7344 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7653, allocations: 301.1 kB / 0.7347 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/0.7703, allocations: 2.288 MB / 0.7369 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/0.7756, allocations: 2.681 MB / 0.7395 GB, free: 14.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009671/0.7853, allocations: 4.855 MB / 0.7443 GB, free: 9.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.7853, allocations: 4 kB / 0.7443 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0161/0.8014, allocations: 7.225 MB / 0.7513 GB, free: 1.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.8015, allocations: 8 kB / 0.7513 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.8015, allocations: 4 kB / 0.7513 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01916/0.8207, allocations: 5.733 MB / 0.7569 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.8245, allocations: 0.6671 MB / 0.7576 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.84, allocations: 5.443 MB / 0.7629 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/0.846, allocations: 0.5117 MB / 0.7634 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.8472, allocations: 132 kB / 0.7635 GB, free: 5.387 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.002376/0.8496, allocations: 0.5285 MB / 0.7641 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/0.8512, allocations: 335.7 kB / 0.7644 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4195/1.271, allocations: 10.51 MB / 0.7746 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/1.271, allocations: 29.28 kB / 0.7747 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.271, allocations: 3.875 kB / 0.7747 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-05/1.271, allocations: 10.08 kB / 0.7747 GB, free: 130.9 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03589/1.307, allocations: 14.63 MB / 0.789 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.307, allocations: 3.5 kB / 0.789 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.308, allocations: 258.7 kB / 0.7892 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/1.322, allocations: 4.765 MB / 0.7939 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005897/1.323, allocations: 50.64 kB / 0.7939 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04434/1.367, allocations: 21.45 MB / 0.8149 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.367, allocations: 0 / 0.8149 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03325/1.401, allocations: 12.81 MB / 0.8274 GB, free: 90.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.402, allocations: 0.4889 MB / 0.8279 GB, free: 89.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/1.402, allocations: 51.19 kB / 0.8279 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.405, allocations: 247.7 kB / 0.8281 GB, free: 89.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/1.407, allocations: 0.514 MB / 0.8286 GB, free: 89.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.407, allocations: 63.98 kB / 0.8287 GB, free: 88.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002345/1.409, allocations: 1.881 MB / 0.8305 GB, free: 87.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.409, allocations: 4 kB / 0.8305 GB, free: 87.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002778/1.412, allocations: 1.124 MB / 0.8316 GB, free: 86.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.032/1.444, allocations: 13.23 MB / 0.8446 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.459, allocations: 6.157 MB / 0.8506 GB, free: 66.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.459, allocations: 3.938 kB / 0.8506 GB, free: 66.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/1.469, allocations: 3.792 MB / 0.8543 GB, free: 62.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.472, allocations: 263.3 kB / 0.8545 GB, free: 62.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06944/1.541, allocations: 36.91 MB / 0.8906 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.543, allocations: 1.847 MB / 0.8924 GB, free: 23.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001711/1.545, allocations: 292.9 kB / 0.8926 GB, free: 22.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/1.547, allocations: 1.393 MB / 0.894 GB, free: 21.49 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.547, allocations: 0 / 0.894 GB, free: 21.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/1.708, allocations: 89.6 MB / 0.9815 GB, free: 12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/20.65, allocations: 0 / 0.9815 GB, free: 12 MB / 0.6387 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)