Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1016/0.1016, allocations: 12.2 MB / 27.43 MB, free: 1.391 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 123.4 kB / 30.95 MB, free: 4.66 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002687/0.002687, allocations: 184.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4762/0.4762, allocations: 78.51 MB / 418.1 MB, free: 31.73 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 128.5 kB / 498.5 MB, free: 416 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4061, allocations: 68.03 MB / 0.5533 GB, free: 37.9 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.007164/0.4133, allocations: 7.412 MB / 0.5605 GB, free: 32.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.418, allocations: 2.217 MB / 0.5627 GB, free: 30.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4197, allocations: 13.75 kB / 0.5627 GB, free: 30.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4209, allocations: 217.7 kB / 0.5629 GB, free: 30.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.4248, allocations: 1.03 MB / 0.5639 GB, free: 30.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.4263, allocations: 0.5257 MB / 0.5644 GB, free: 29.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4291, allocations: 1.877 MB / 0.5662 GB, free: 28.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.4298, allocations: 324 kB / 0.5665 GB, free: 28.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.4311, allocations: 0.7245 MB / 0.5673 GB, free: 28.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.4325, allocations: 0.9476 MB / 0.5682 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.4327, allocations: 136.2 kB / 0.5683 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.4335, allocations: 365.2 kB / 0.5687 GB, free: 27.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.4337, allocations: 364.6 kB / 0.569 GB, free: 27.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.4343, allocations: 0.7522 MB / 0.5697 GB, free: 27.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.4363, allocations: 1.85 MB / 0.5715 GB, free: 26.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4363, allocations: 0 / 0.5715 GB, free: 26.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4364, allocations: 0 / 0.5715 GB, free: 26.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.4364, allocations: 0 / 0.5715 GB, free: 26.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01321/0.4496, allocations: 3.583 MB / 0.575 GB, free: 25.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4497, allocations: 15.23 kB / 0.5751 GB, free: 25.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.4499, allocations: 133.1 kB / 0.5752 GB, free: 24.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.4543, allocations: 0.7077 MB / 0.5759 GB, free: 24.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.4564, allocations: 0.8948 MB / 0.5768 GB, free: 24.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/0.4569, allocations: 355.2 kB / 0.5771 GB, free: 23.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.4572, allocations: 103.7 kB / 0.5772 GB, free: 23.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.4605, allocations: 1.205 MB / 0.5784 GB, free: 23.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4605, allocations: 1.188 kB / 0.5784 GB, free: 23.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.4606, allocations: 30.03 kB / 0.5784 GB, free: 23.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.4606, allocations: 18.62 kB / 0.5784 GB, free: 23.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.4637, allocations: 1.156 MB / 0.5795 GB, free: 22.95 MB / 414.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.01016/0.4738, allocations: 4.078 MB / 0.5835 GB, free: 20.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/0.4822, allocations: 2.652 MB / 0.5861 GB, free: 19.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.4842, allocations: 0.8254 MB / 0.5869 GB, free: 19.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.4844, allocations: 21.44 kB / 0.5869 GB, free: 19.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.4844, allocations: 49.73 kB / 0.587 GB, free: 19.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.216e-06/0.4844, allocations: 0 / 0.587 GB, free: 19.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=107): time 0.04103/0.5255, allocations: 9.727 MB / 0.5965 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.5256, allocations: 90.11 kB / 0.5966 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.5273, allocations: 1.081 MB / 0.5976 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004158/0.5277, allocations: 49.7 kB / 0.5977 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.5281, allocations: 0.4895 MB / 0.5982 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.5285, allocations: 406.3 kB / 0.5985 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004994/0.529, allocations: 267.5 kB / 0.5988 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.5291, allocations: 305.1 kB / 0.5991 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.5306, allocations: 0.8472 MB / 0.5999 GB, free: 10.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5323, allocations: 1.026 MB / 0.6009 GB, free: 9.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.5354, allocations: 1.867 MB / 0.6027 GB, free: 7.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.5354, allocations: 0 / 0.6027 GB, free: 7.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01139/0.5468, allocations: 4.248 MB / 0.6069 GB, free: 3.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5469, allocations: 8 kB / 0.6069 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5469, allocations: 4 kB / 0.6069 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/0.5544, allocations: 2.365 MB / 0.6092 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5556, allocations: 235.7 kB / 0.6094 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.5615, allocations: 2.602 MB / 0.612 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.5636, allocations: 198.6 kB / 0.6122 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.5637, allocations: 51.98 kB / 0.6122 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.5643, allocations: 261.6 kB / 0.6125 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5646, allocations: 138.2 kB / 0.6126 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.5794, allocations: 4.613 MB / 0.6171 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.5795, allocations: 23.94 kB / 0.6171 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5795, allocations: 0 / 0.6171 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.5796, allocations: 7.969 kB / 0.6171 GB, free: 8.746 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 postOpt removeSimpleEquations (simulation): time 0.01764/0.5972, allocations: 6.318 MB / 0.6233 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.5973, allocations: 0 / 0.6233 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.5979, allocations: 107.8 kB / 0.6234 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007114/0.605, allocations: 2.149 MB / 0.6255 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.6052, allocations: 23.98 kB / 0.6255 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/0.6302, allocations: 10.05 MB / 0.6353 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6302, allocations: 0 / 0.6353 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.6475, allocations: 5.67 MB / 0.6409 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/0.6483, allocations: 235.3 kB / 0.6411 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.6486, allocations: 20 kB / 0.6411 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.65, allocations: 107.9 kB / 0.6412 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009295/0.6509, allocations: 237.1 kB / 0.6415 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.651, allocations: 35.92 kB / 0.6415 GB, free: 15.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.652, allocations: 0.7209 MB / 0.6422 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.652, allocations: 0 / 0.6422 GB, free: 14.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001489/0.6535, allocations: 475.5 kB / 0.6426 GB, free: 14.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01804/0.6716, allocations: 6.253 MB / 0.6488 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008625/0.6803, allocations: 2.576 MB / 0.6513 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6803, allocations: 0 / 0.6513 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006649/0.687, allocations: 1.815 MB / 0.653 GB, free: 3.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.689, allocations: 115.8 kB / 0.6532 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/0.7291, allocations: 17.5 MB / 0.6702 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.7298, allocations: 1.113 MB / 0.6713 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000565/0.7304, allocations: 108.2 kB / 0.6714 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/0.731, allocations: 499.3 kB / 0.6719 GB, free: 15.78 MB / 494.1 MB Notification: Performance of SimCode: time 1.011e-06/0.7311, allocations: 4 kB / 0.6719 GB, free: 15.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/0.797, allocations: 35.55 MB / 0.7066 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.7973, allocations: 210.6 kB / 0.7068 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/3.906, allocations: 3.938 kB / 0.7068 GB, free: 12.03 MB / 0.5138 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)