Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.08026/0.08026, allocations: 12.6 MB / 28.1 MB, free: 236 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 103.6 kB / 31.7 MB, free: 3.496 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.367/1.367, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001366/0.001366, allocations: 192.4 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4245/0.4245, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002837/0.002837, allocations: 139.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2773, allocations: 68.1 MB / 0.5547 GB, free: 32.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.005972/0.2834, allocations: 6.204 MB / 0.5607 GB, free: 28.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2869, allocations: 1.837 MB / 0.5625 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.2875, allocations: 9.781 kB / 0.5625 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.2881, allocations: 241.4 kB / 0.5628 GB, free: 26.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.29, allocations: 0.803 MB / 0.5636 GB, free: 25.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2912, allocations: 0.6432 MB / 0.5642 GB, free: 25.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.2928, allocations: 1.623 MB / 0.5658 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.2932, allocations: 297.5 kB / 0.566 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.2938, allocations: 0.6153 MB / 0.5666 GB, free: 23.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.2946, allocations: 0.8004 MB / 0.5674 GB, free: 23.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.2948, allocations: 117.2 kB / 0.5675 GB, free: 23.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.2952, allocations: 238.1 kB / 0.5678 GB, free: 23.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.2955, allocations: 310.8 kB / 0.5681 GB, free: 23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.2959, allocations: 0.6317 MB / 0.5687 GB, free: 22.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2971, allocations: 1.544 MB / 0.5702 GB, free: 21.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2971, allocations: 8 kB / 0.5702 GB, free: 21.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2971, allocations: 0 / 0.5702 GB, free: 21.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2972, allocations: 1.219 kB / 0.5702 GB, free: 21.36 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00827/0.3054, allocations: 2.628 MB / 0.5728 GB, free: 19.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3055, allocations: 12.98 kB / 0.5728 GB, free: 19.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.3056, allocations: 123.7 kB / 0.5729 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.3098, allocations: 0.6824 MB / 0.5736 GB, free: 19.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.311, allocations: 0.8021 MB / 0.5743 GB, free: 18.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.3114, allocations: 345.9 kB / 0.5747 GB, free: 18.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3115, allocations: 75.97 kB / 0.5747 GB, free: 18.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.3138, allocations: 1.143 MB / 0.5759 GB, free: 17.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3138, allocations: 4 kB / 0.5759 GB, free: 17.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.3139, allocations: 31.94 kB / 0.5759 GB, free: 17.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3139, allocations: 20 kB / 0.5759 GB, free: 17.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.3161, allocations: 1.085 MB / 0.577 GB, free: 16.46 MB / 398.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.005198/0.3213, allocations: 3.59 MB / 0.5805 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006966/0.3283, allocations: 2.525 MB / 0.5829 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.3297, allocations: 0.7854 MB / 0.5837 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3298, allocations: 9 kB / 0.5837 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3298, allocations: 43.56 kB / 0.5838 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 3.807e-06/0.3298, allocations: 8 kB / 0.5838 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.03792/0.3677, allocations: 9.391 MB / 0.5929 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.3678, allocations: 90.11 kB / 0.593 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3691, allocations: 0.9047 MB / 0.5939 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.3693, allocations: 45.64 kB / 0.594 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.3696, allocations: 468.6 kB / 0.5944 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.37, allocations: 343 kB / 0.5947 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.3704, allocations: 170.9 kB / 0.5949 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3705, allocations: 349.9 kB / 0.5952 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.3721, allocations: 0.674 MB / 0.5959 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.3738, allocations: 0.8275 MB / 0.5967 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.3771, allocations: 1.528 MB / 0.5982 GB, free: 10.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3771, allocations: 3.938 kB / 0.5982 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01593/0.393, allocations: 4.543 MB / 0.6026 GB, free: 5.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.3931, allocations: 4 kB / 0.6026 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3931, allocations: 4 kB / 0.6026 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008253/0.4014, allocations: 2.349 MB / 0.6049 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.4022, allocations: 143.8 kB / 0.6051 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/0.4324, allocations: 11.33 MB / 0.6161 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4342, allocations: 167 kB / 0.6163 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.4344, allocations: 35.98 kB / 0.6163 GB, free: 7.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000437/0.4348, allocations: 233.6 kB / 0.6166 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.4351, allocations: 114.6 kB / 0.6167 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/0.4511, allocations: 4.436 MB / 0.621 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.4511, allocations: 16 kB / 0.621 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4511, allocations: 0 / 0.621 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.4512, allocations: 7.922 kB / 0.621 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.4689, allocations: 6.066 MB / 0.6269 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.469, allocations: 4 kB / 0.6269 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.4695, allocations: 91.83 kB / 0.627 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008254/0.4778, allocations: 2.177 MB / 0.6292 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.4779, allocations: 16 kB / 0.6292 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/0.5049, allocations: 9.958 MB / 0.6389 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5049, allocations: 0 / 0.6389 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.5235, allocations: 5.506 MB / 0.6443 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.5241, allocations: 211.5 kB / 0.6445 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/0.5245, allocations: 19.94 kB / 0.6445 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.5261, allocations: 112 kB / 0.6446 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008492/0.527, allocations: 229.1 kB / 0.6448 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.5271, allocations: 27.98 kB / 0.6448 GB, free: 9.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.528, allocations: 0.6226 MB / 0.6455 GB, free: 9.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.528, allocations: 3.938 kB / 0.6455 GB, free: 9.266 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00166/0.5297, allocations: 467.5 kB / 0.6459 GB, free: 8.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01815/0.5478, allocations: 6.07 MB / 0.6518 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008806/0.5567, allocations: 2.588 MB / 0.6544 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5567, allocations: 0 / 0.6544 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006225/0.563, allocations: 1.76 MB / 0.6561 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5644, allocations: 100.2 kB / 0.6562 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/0.6102, allocations: 16.76 MB / 0.6725 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.6111, allocations: 1.091 MB / 0.6736 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.6116, allocations: 86.97 kB / 0.6737 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.6123, allocations: 431.3 kB / 0.6741 GB, free: 11.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6123, allocations: 0 / 0.6741 GB, free: 11.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/0.6862, allocations: 38.13 MB / 0.7113 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.36, allocations: 11.78 kB / 0.7113 GB, free: 5.328 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)