Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.08099/0.081, allocations: 12.59 MB / 28.22 MB, free: 0.75 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.001143/0.001144, allocations: 111.4 kB / 31.84 MB, free: 3.883 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.305/1.305, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00133/0.00133, allocations: 180.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3994/0.3994, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.002512/0.002512, allocations: 131.3 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1186, allocations: 68.14 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.006864/0.1255, allocations: 7.308 MB / 0.629 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.1295, allocations: 2.276 MB / 0.6313 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.1301, allocations: 12 kB / 0.6313 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.1306, allocations: 281.7 kB / 0.6315 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.133, allocations: 1.181 MB / 0.6327 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1341, allocations: 0.5723 MB / 0.6333 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.136, allocations: 1.967 MB / 0.6352 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1365, allocations: 332.1 kB / 0.6355 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008525/0.1373, allocations: 0.751 MB / 0.6362 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1384, allocations: 0.9959 MB / 0.6372 GB, free: 192 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.1386, allocations: 148 kB / 0.6373 GB, free: 44 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.1392, allocations: 367.8 kB / 0.6377 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.1395, allocations: 390.5 kB / 0.6381 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.1402, allocations: 0.7691 MB / 0.6388 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.1419, allocations: 1.928 MB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1419, allocations: 3.984 kB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1419, allocations: 4 kB / 0.6407 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.142, allocations: 0 / 0.6407 GB, free: 12.59 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.01161/0.1536, allocations: 3.438 MB / 0.6441 GB, free: 9.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1536, allocations: 15.98 kB / 0.6441 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.1538, allocations: 138.9 kB / 0.6442 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.1581, allocations: 0.7201 MB / 0.6449 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1595, allocations: 0.9501 MB / 0.6458 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.1598, allocations: 361.2 kB / 0.6462 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.16, allocations: 95.84 kB / 0.6463 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.1623, allocations: 1.239 MB / 0.6475 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1623, allocations: 0 / 0.6475 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.1624, allocations: 36 kB / 0.6475 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1624, allocations: 20 kB / 0.6475 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.1647, allocations: 1.183 MB / 0.6487 GB, free: 4.215 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.006555/0.1713, allocations: 4.155 MB / 0.6528 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/0.1784, allocations: 2.695 MB / 0.6554 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.1801, allocations: 0.8401 MB / 0.6562 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.1802, allocations: 20.91 kB / 0.6562 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1803, allocations: 47.55 kB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.967e-06/0.1803, allocations: 4 kB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.03773/0.218, allocations: 9.82 MB / 0.6659 GB, free: 2.254 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2181, allocations: 94.05 kB / 0.666 GB, free: 2.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.2196, allocations: 1.165 MB / 0.6671 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.2197, allocations: 53.64 kB / 0.6671 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.2201, allocations: 0.5092 MB / 0.6676 GB, free: 404 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.2204, allocations: 406.2 kB / 0.668 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.221, allocations: 295.4 kB / 0.6683 GB, free: 15.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.221, allocations: 301.1 kB / 0.6686 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.2228, allocations: 0.8784 MB / 0.6695 GB, free: 14.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.2246, allocations: 1.069 MB / 0.6705 GB, free: 13.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.2281, allocations: 1.929 MB / 0.6724 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2281, allocations: 0 / 0.6724 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01468/0.2428, allocations: 5.137 MB / 0.6774 GB, free: 6.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2428, allocations: 6.969 kB / 0.6774 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2429, allocations: 8.297 kB / 0.6774 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0083/0.2512, allocations: 2.636 MB / 0.68 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2524, allocations: 251.6 kB / 0.6802 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.258, allocations: 2.691 MB / 0.6829 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.2599, allocations: 210.5 kB / 0.6831 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.2601, allocations: 55.98 kB / 0.6831 GB, free: 412 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.0004998/0.2606, allocations: 261.5 kB / 0.6834 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.261, allocations: 134.3 kB / 0.6835 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.2747, allocations: 4.606 MB / 0.688 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.2747, allocations: 12 kB / 0.688 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.2747, allocations: 0 / 0.688 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.2748, allocations: 11.91 kB / 0.688 GB, free: 11.35 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.01666/0.2914, allocations: 6.424 MB / 0.6943 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.2915, allocations: 4 kB / 0.6943 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.2921, allocations: 111.8 kB / 0.6944 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006719/0.2989, allocations: 2.146 MB / 0.6965 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.299, allocations: 23.98 kB / 0.6965 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/0.3223, allocations: 10.05 MB / 0.7063 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3223, allocations: 4 kB / 0.7063 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.3385, allocations: 5.742 MB / 0.7119 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.339, allocations: 235.1 kB / 0.7122 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.3394, allocations: 27.98 kB / 0.7122 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.3408, allocations: 103.9 kB / 0.7123 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007273/0.3415, allocations: 245.1 kB / 0.7125 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3417, allocations: 24 kB / 0.7125 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001095/0.3428, allocations: 0.7882 MB / 0.7133 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3428, allocations: 0 / 0.7133 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00153/0.3443, allocations: 487.5 kB / 0.7138 GB, free: 0.6328 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.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.2705/0.6149, allocations: 6.33 MB / 0.72 GB, free: 84.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008112/0.623, allocations: 2.651 MB / 0.7225 GB, free: 83.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.623, allocations: 0 / 0.7225 GB, free: 83.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005397/0.6285, allocations: 1.825 MB / 0.7243 GB, free: 83.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6295, allocations: 123.2 kB / 0.7244 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03487/0.6644, allocations: 17.11 MB / 0.7412 GB, free: 76.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.6648, allocations: 1.139 MB / 0.7423 GB, free: 75.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.6651, allocations: 115.9 kB / 0.7424 GB, free: 75.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.6656, allocations: 0.4951 MB / 0.7429 GB, free: 75.5 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.6657, allocations: 0 / 0.7429 GB, free: 75.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.7174, allocations: 38.68 MB / 0.7806 GB, free: 38.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.9, allocations: 15.98 kB / 0.7806 GB, free: 38.22 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)