Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07993/0.07993, allocations: 12.59 MB / 28.22 MB, free: 0.6992 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.001034/0.001034, allocations: 107.4 kB / 31.83 MB, free: 3.855 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.29/1.29, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001298/0.001298, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4062/0.4062, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.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.002504/0.002504, allocations: 138.5 kB / 0.5554 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1039, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.006712/0.1107, allocations: 7.263 MB / 0.629 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.1144, allocations: 2.284 MB / 0.6312 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.1148, allocations: 11.94 kB / 0.6312 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1153, allocations: 273.7 kB / 0.6315 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.1176, allocations: 1.197 MB / 0.6327 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1187, allocations: 0.5726 MB / 0.6332 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1207, allocations: 1.987 MB / 0.6352 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.1212, allocations: 330.9 kB / 0.6355 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.122, allocations: 0.7548 MB / 0.6362 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009414/0.123, allocations: 0.996 MB / 0.6372 GB, free: 208 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1232, allocations: 148 kB / 0.6373 GB, free: 60 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.1237, allocations: 323.8 kB / 0.6376 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.124, allocations: 382.5 kB / 0.638 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.1246, allocations: 0.7769 MB / 0.6388 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1261, allocations: 1.916 MB / 0.6406 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1261, allocations: 0 / 0.6406 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1261, allocations: 0 / 0.6406 GB, free: 12.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.1261, allocations: 0 / 0.6406 GB, free: 12.66 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01158/0.1377, allocations: 3.539 MB / 0.6441 GB, free: 9.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1378, allocations: 19.98 kB / 0.6441 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.1379, allocations: 138.9 kB / 0.6442 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.1421, allocations: 0.7201 MB / 0.6449 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.1434, allocations: 0.954 MB / 0.6459 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.1437, allocations: 361.2 kB / 0.6462 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.1439, allocations: 103.8 kB / 0.6463 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.1461, allocations: 1.231 MB / 0.6475 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1461, allocations: 0 / 0.6475 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.1462, allocations: 36 kB / 0.6476 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1462, allocations: 20 kB / 0.6476 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.1485, allocations: 1.183 MB / 0.6487 GB, free: 4.184 MB / 462.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.00613/0.1546, allocations: 4.154 MB / 0.6528 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/0.1616, allocations: 2.699 MB / 0.6554 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.1631, allocations: 0.8362 MB / 0.6562 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.1633, allocations: 20.98 kB / 0.6563 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1633, allocations: 43.56 kB / 0.6563 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.817e-06/0.1633, allocations: 4 kB / 0.6563 GB, free: 12.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.03846/0.2018, allocations: 9.831 MB / 0.6659 GB, free: 2.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2019, allocations: 94.05 kB / 0.666 GB, free: 2.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.2034, allocations: 1.165 MB / 0.6671 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.2036, allocations: 49.7 kB / 0.6672 GB, free: 0.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.204, allocations: 0.5053 MB / 0.6677 GB, free: 372 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.2044, allocations: 402.4 kB / 0.6681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.2049, allocations: 299.4 kB / 0.6683 GB, free: 15.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.205, allocations: 301.1 kB / 0.6686 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.2067, allocations: 0.8824 MB / 0.6695 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.2086, allocations: 1.065 MB / 0.6705 GB, free: 13.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/0.2122, allocations: 1.933 MB / 0.6724 GB, free: 11.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2122, allocations: 0 / 0.6724 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0153/0.2275, allocations: 5.137 MB / 0.6774 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2276, allocations: 4 kB / 0.6774 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2276, allocations: 4.312 kB / 0.6774 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008729/0.2363, allocations: 2.671 MB / 0.6801 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.2376, allocations: 251.6 kB / 0.6803 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.2432, allocations: 2.691 MB / 0.6829 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.245, allocations: 206.5 kB / 0.6831 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.2452, allocations: 59.97 kB / 0.6832 GB, free: 340 kB / 494.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 (150): * Single equations (assignments): 149 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004491/0.2456, allocations: 261.6 kB / 0.6834 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.2459, allocations: 139.7 kB / 0.6836 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.26, allocations: 4.594 MB / 0.688 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.26, allocations: 12 kB / 0.6881 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.26, allocations: 4 kB / 0.6881 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.2601, allocations: 7.969 kB / 0.6881 GB, free: 11.29 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.01656/0.2767, allocations: 6.42 MB / 0.6943 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.2767, allocations: 4 kB / 0.6943 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.2774, allocations: 123.8 kB / 0.6945 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006783/0.2842, allocations: 2.134 MB / 0.6965 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.2844, allocations: 27.92 kB / 0.6966 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/0.3079, allocations: 10.06 MB / 0.7064 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3079, allocations: 4 kB / 0.7064 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/0.3245, allocations: 5.75 MB / 0.712 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.325, allocations: 235.1 kB / 0.7122 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/0.3255, allocations: 24 kB / 0.7123 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.327, allocations: 107.9 kB / 0.7124 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/0.3278, allocations: 241.1 kB / 0.7126 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.3279, allocations: 31.98 kB / 0.7126 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00118/0.3291, allocations: 0.7804 MB / 0.7134 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3291, allocations: 0 / 0.7134 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001611/0.3307, allocations: 487.5 kB / 0.7138 GB, free: 0.5586 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,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 (68): * Single equations (assignments): 67 * 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.2541/0.5848, allocations: 6.317 MB / 0.72 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007844/0.5927, allocations: 2.652 MB / 0.7226 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5927, allocations: 0.5312 kB / 0.7226 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/0.5981, allocations: 1.821 MB / 0.7244 GB, free: 83.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.5991, allocations: 118.7 kB / 0.7245 GB, free: 83.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03386/0.6329, allocations: 17.11 MB / 0.7412 GB, free: 76.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.6334, allocations: 1.133 MB / 0.7423 GB, free: 76.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003423/0.6338, allocations: 118 kB / 0.7424 GB, free: 76.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.6343, allocations: 0.4988 MB / 0.7429 GB, free: 75.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/0.6343, allocations: 0 / 0.7429 GB, free: 75.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.6905, allocations: 38.64 MB / 0.7806 GB, free: 38.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.86, allocations: 11.77 kB / 0.7807 GB, free: 38.3 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)