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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.374/1.374, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.00168/0.00168, allocations: 196.4 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4563/0.4563, allocations: 78.53 MB / 417.8 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 79.88 kB / 496.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1523, allocations: 68.17 MB / 0.5518 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2844/0.4368, allocations: 15.75 MB / 0.5672 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.447, allocations: 4.724 MB / 0.5718 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.4511, allocations: 30.72 kB / 0.5718 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.4538, allocations: 0.6217 MB / 0.5724 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.4618, allocations: 2.176 MB / 0.5745 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.4651, allocations: 1.242 MB / 0.5758 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006915/0.472, allocations: 4.603 MB / 0.5802 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.4738, allocations: 0.7164 MB / 0.5809 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4768, allocations: 1.661 MB / 0.5826 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.4807, allocations: 2.267 MB / 0.5848 GB, free: 24.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.4823, allocations: 217.4 kB / 0.585 GB, free: 24.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.4848, allocations: 427.7 kB / 0.5854 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.4864, allocations: 0.7899 MB / 0.5862 GB, free: 23.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.4894, allocations: 1.812 MB / 0.5879 GB, free: 22.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.4943, allocations: 5.125 MB / 0.5929 GB, free: 20.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4944, allocations: 0 / 0.5929 GB, free: 20.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4944, allocations: 3.328 kB / 0.5929 GB, free: 20.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.4945, allocations: 1.406 kB / 0.5929 GB, free: 20.45 MB / 430.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.0398/0.5343, allocations: 9.516 MB / 0.6022 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5344, allocations: 8.25 kB / 0.6022 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004275/0.5348, allocations: 283.5 kB / 0.6025 GB, free: 17.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.546, allocations: 1.75 MB / 0.6042 GB, free: 16.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.5506, allocations: 2.179 MB / 0.6064 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/0.5513, allocations: 0.6678 MB / 0.607 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005529/0.5518, allocations: 239 kB / 0.6072 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.5581, allocations: 2.682 MB / 0.6099 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.5582, allocations: 0 / 0.6099 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.5584, allocations: 79.91 kB / 0.6099 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.5585, allocations: 47.59 kB / 0.61 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/0.5649, allocations: 2.83 MB / 0.6127 GB, free: 12.8 MB / 430.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.01976/0.5847, allocations: 11.06 MB / 0.6235 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.5954, allocations: 4.973 MB / 0.6284 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/0.5994, allocations: 1.933 MB / 0.6303 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.5998, allocations: 45.95 kB / 0.6303 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.5999, allocations: 56.56 kB / 0.6304 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.388e-06/0.5999, allocations: 0 / 0.6304 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1262/0.7261, allocations: 29.56 MB / 0.6592 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.7262, allocations: 77.41 kB / 0.6593 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006846/0.7331, allocations: 2.91 MB / 0.6622 GB, free: 13.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001132/0.7342, allocations: 85.7 kB / 0.6622 GB, free: 13.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.7358, allocations: 1.256 MB / 0.6635 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/0.7377, allocations: 0.8936 MB / 0.6643 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00387/0.7416, allocations: 0.7522 MB / 0.6651 GB, free: 10.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7417, allocations: 301.1 kB / 0.6654 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005875/0.7476, allocations: 2.28 MB / 0.6676 GB, free: 8.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006051/0.7536, allocations: 2.673 MB / 0.6702 GB, free: 5.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.7645, allocations: 4.862 MB / 0.6749 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.7646, allocations: 0 / 0.6749 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0182/0.7828, allocations: 7.225 MB / 0.682 GB, free: 9.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.7828, allocations: 8 kB / 0.682 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.7829, allocations: 4 kB / 0.682 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01885/0.8017, allocations: 5.736 MB / 0.6876 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/0.8052, allocations: 0.6644 MB / 0.6883 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.8187, allocations: 5.447 MB / 0.6936 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/0.8247, allocations: 0.5078 MB / 0.6941 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008843/0.8256, allocations: 140 kB / 0.6942 GB, free: 12.74 MB / 0.4981 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.002256/0.8279, allocations: 0.5285 MB / 0.6947 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/0.8294, allocations: 327.8 kB / 0.695 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03467/0.8641, allocations: 10.52 MB / 0.7053 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/0.8641, allocations: 31.94 kB / 0.7053 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.8642, allocations: 0 / 0.7053 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.58e-05/0.8643, allocations: 11.95 kB / 0.7054 GB, free: 1.234 MB / 0.4981 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.04524/0.9095, allocations: 14.65 MB / 0.7197 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.9096, allocations: 0 / 0.7197 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.9113, allocations: 259.6 kB / 0.7199 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/0.9274, allocations: 4.769 MB / 0.7246 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007193/0.9282, allocations: 48 kB / 0.7246 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05316/0.9814, allocations: 19.6 MB / 0.7438 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9814, allocations: 0.5469 kB / 0.7438 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04133/1.023, allocations: 12.82 MB / 0.7563 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.025, allocations: 488.2 kB / 0.7567 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.026, allocations: 51.98 kB / 0.7568 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004102/1.03, allocations: 248.7 kB / 0.757 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002355/1.033, allocations: 0.506 MB / 0.7575 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005118/1.033, allocations: 60 kB / 0.7576 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003885/1.037, allocations: 1.881 MB / 0.7594 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 0 / 0.7594 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005286/1.042, allocations: 1.128 MB / 0.7605 GB, free: 8.199 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.2966/1.339, allocations: 13.22 MB / 0.7734 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01526/1.354, allocations: 6.09 MB / 0.7794 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.354, allocations: 0 / 0.7794 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00988/1.364, allocations: 3.705 MB / 0.783 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.367, allocations: 265 kB / 0.7833 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08741/1.454, allocations: 44.33 MB / 0.8265 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.456, allocations: 1.843 MB / 0.8283 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001823/1.458, allocations: 295.4 kB / 0.8286 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/1.46, allocations: 1.381 MB / 0.83 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.46, allocations: 1.312 kB / 0.83 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.577, allocations: 82.42 MB / 0.9105 GB, free: 64.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.577, allocations: 219.1 kB / 0.9107 GB, free: 63.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.676/6.253, allocations: 0 / 0.9107 GB, free: 63.79 MB / 0.5606 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)