Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.1126/0.1126, allocations: 12.6 MB / 28.1 MB, free: 240 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.0009953/0.0009953, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.294/1.294, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001362/0.001362, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4162/0.4162, allocations: 78.51 MB / 419.2 MB, free: 11.36 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.002898/0.002898, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2669, allocations: 68.11 MB / 0.5547 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005944/0.2729, allocations: 7.078 MB / 0.5616 GB, free: 27.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.2763, allocations: 2.225 MB / 0.5638 GB, free: 25.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.2768, allocations: 11.09 kB / 0.5638 GB, free: 25.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.2772, allocations: 275.4 kB / 0.564 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.2793, allocations: 1.116 MB / 0.5651 GB, free: 24.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.2803, allocations: 0.5724 MB / 0.5657 GB, free: 24.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.2818, allocations: 1.902 MB / 0.5675 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.2822, allocations: 316.7 kB / 0.5678 GB, free: 22.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.2828, allocations: 0.7375 MB / 0.5686 GB, free: 22.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.2836, allocations: 0.9589 MB / 0.5695 GB, free: 21.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.2838, allocations: 139.1 kB / 0.5696 GB, free: 21.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.2844, allocations: 312 kB / 0.5699 GB, free: 21.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.2846, allocations: 381.7 kB / 0.5703 GB, free: 21.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.2851, allocations: 0.7476 MB / 0.571 GB, free: 20.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.2864, allocations: 1.835 MB / 0.5728 GB, free: 19.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2864, allocations: 1.375 kB / 0.5728 GB, free: 19.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2864, allocations: 0 / 0.5728 GB, free: 19.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.2864, allocations: 4 kB / 0.5728 GB, free: 19.41 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01285/0.2993, allocations: 3.482 MB / 0.5762 GB, free: 17.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2993, allocations: 15.98 kB / 0.5762 GB, free: 17.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.2995, allocations: 130.9 kB / 0.5764 GB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.3038, allocations: 0.7201 MB / 0.5771 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3049, allocations: 0.9147 MB / 0.578 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.3052, allocations: 361.7 kB / 0.5783 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3053, allocations: 91.84 kB / 0.5784 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3074, allocations: 1.223 MB / 0.5796 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3074, allocations: 0 / 0.5796 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.3075, allocations: 32 kB / 0.5796 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3075, allocations: 20 kB / 0.5796 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3097, allocations: 1.167 MB / 0.5808 GB, free: 12.55 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.005888/0.3156, allocations: 4.119 MB / 0.5848 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00716/0.3228, allocations: 2.687 MB / 0.5874 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.3243, allocations: 0.8278 MB / 0.5882 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3244, allocations: 24.97 kB / 0.5883 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3244, allocations: 47.56 kB / 0.5883 GB, free: 4.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.916e-06/0.3244, allocations: 0 / 0.5883 GB, free: 4.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.04194/0.3663, allocations: 10.1 MB / 0.5982 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3665, allocations: 90.11 kB / 0.5982 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.3681, allocations: 1.117 MB / 0.5993 GB, free: 9.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.3684, allocations: 49.7 kB / 0.5994 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.3687, allocations: 0.4896 MB / 0.5999 GB, free: 8.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.3692, allocations: 398.4 kB / 0.6002 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005527/0.3697, allocations: 283.4 kB / 0.6005 GB, free: 7.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.3698, allocations: 301.1 kB / 0.6008 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.3717, allocations: 0.855 MB / 0.6016 GB, free: 6.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.3738, allocations: 1.041 MB / 0.6027 GB, free: 5.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/0.3776, allocations: 1.886 MB / 0.6045 GB, free: 3.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3776, allocations: 0 / 0.6045 GB, free: 3.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008967/0.3866, allocations: 3.37 MB / 0.6078 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3866, allocations: 8 kB / 0.6078 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3866, allocations: 0 / 0.6078 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009791/0.3964, allocations: 2.604 MB / 0.6103 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3976, allocations: 243.6 kB / 0.6106 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.4042, allocations: 2.642 MB / 0.6131 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4062, allocations: 202.6 kB / 0.6133 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.4064, allocations: 51.98 kB / 0.6134 GB, free: 10.59 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 (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005519/0.407, allocations: 265.5 kB / 0.6136 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.4074, allocations: 134.3 kB / 0.6138 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.4234, allocations: 4.562 MB / 0.6182 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.4235, allocations: 19.97 kB / 0.6182 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.4236, allocations: 4 kB / 0.6183 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/0.4236, allocations: 11.92 kB / 0.6183 GB, free: 5.559 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.01911/0.4427, allocations: 6.346 MB / 0.6245 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.4428, allocations: 0 / 0.6245 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.4435, allocations: 107.8 kB / 0.6246 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008145/0.4517, allocations: 2.142 MB / 0.6267 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.4518, allocations: 27.98 kB / 0.6267 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02766/0.4795, allocations: 10.05 MB / 0.6365 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4796, allocations: 3.938 kB / 0.6365 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/0.4982, allocations: 5.659 MB / 0.642 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.4988, allocations: 235.1 kB / 0.6423 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.4992, allocations: 19.94 kB / 0.6423 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.5008, allocations: 111.9 kB / 0.6424 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/0.5017, allocations: 241 kB / 0.6426 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5018, allocations: 28 kB / 0.6426 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.503, allocations: 0.7484 MB / 0.6434 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.503, allocations: 0 / 0.6434 GB, free: 11.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001592/0.5046, allocations: 475.5 kB / 0.6438 GB, free: 11.05 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,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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 (65): * Single equations (assignments): 64 * 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.01897/0.5236, allocations: 6.249 MB / 0.6499 GB, free: 4.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01/0.5336, allocations: 2.615 MB / 0.6525 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.5336, allocations: 4.25 kB / 0.6525 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006465/0.5401, allocations: 1.815 MB / 0.6543 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.5415, allocations: 104.6 kB / 0.6544 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04971/0.5912, allocations: 18.94 MB / 0.6728 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.5921, allocations: 1.127 MB / 0.674 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.5928, allocations: 108.3 kB / 0.6741 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/0.5935, allocations: 491.3 kB / 0.6745 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5936, allocations: 0 / 0.6745 GB, free: 11.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.6615, allocations: 37.17 MB / 0.7108 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.31, allocations: 11.88 kB / 0.7108 GB, free: 5.945 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)