Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json 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/Complex 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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 114 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1776/0.1776, allocations: 37.99 MB / 309.2 MB, free: 5.949 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 63.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09159, allocations: 55.25 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00464/0.09626, allocations: 3.465 MB / 490.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.09836, allocations: 1.575 MB / 491.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.09852, allocations: 7.938 kB / 491.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.09934, allocations: 255 kB / 491.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.09995, allocations: 286.9 kB / 492.2 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1003, allocations: 127.6 kB / 492.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1007, allocations: 346.9 kB / 492.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.101, allocations: 126.5 kB / 492.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.1012, allocations: 163.4 kB / 492.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.1015, allocations: 155.4 kB / 493.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.1015, allocations: 16 kB / 493.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.102, allocations: 315.2 kB / 493.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1022, allocations: 103.8 kB / 493.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1023, allocations: 107.4 kB / 493.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.1028, allocations: 359.3 kB / 494 MB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1028, allocations: 0 / 494 MB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1028, allocations: 0 / 494 MB, free: 1.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1028, allocations: 4 kB / 494 MB, free: 1.441 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006843/0.1035, allocations: 0.5258 MB / 494.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1035, allocations: 11.89 kB / 494.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.1036, allocations: 54.72 kB / 494.6 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.1046, allocations: 96.62 kB / 494.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1049, allocations: 279.7 kB / 494.9 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.105, allocations: 12.38 kB / 494.9 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.105, allocations: 16.38 kB / 495 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.1055, allocations: 341.4 kB / 495.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1056, allocations: 0 / 495.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1056, allocations: 16.08 kB / 495.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.1056, allocations: 15.98 kB / 495.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.1061, allocations: 307.7 kB / 495.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1078, allocations: 1.248 MB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1081, allocations: 165 kB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1082, allocations: 105.7 kB / 497.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1083, allocations: 11.98 kB / 497.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1083, allocations: 34.5 kB / 497.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.1083, allocations: 0 / 497.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001482/0.1098, allocations: 0.6699 MB / 497.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1099, allocations: 81.05 kB / 497.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.11, allocations: 186.4 kB / 498.1 MB, free: 13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1101, allocations: 29.7 kB / 498.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.1101, allocations: 156 kB / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.1102, allocations: 63.09 kB / 498.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.1103, allocations: 45.7 kB / 498.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1104, allocations: 326.8 kB / 498.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1105, allocations: 83.89 kB / 498.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1107, allocations: 152.5 kB / 498.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.111, allocations: 260.5 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1111, allocations: 0 / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006168/0.1117, allocations: 361.9 kB / 499.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1117, allocations: 4 kB / 499.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1117, allocations: 4 kB / 499.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.1121, allocations: 92.78 kB / 499.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1123, allocations: 39.92 kB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.1148, allocations: 2.17 MB / 0.4901 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.115, allocations: 7.984 kB / 0.4901 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.115, allocations: 12 kB / 0.4901 GB, free: 8.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.1151, allocations: 157.7 kB / 0.4903 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.1152, allocations: 19.84 kB / 0.4903 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.1158, allocations: 328 kB / 0.4906 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1158, allocations: 0 / 0.4906 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1158, allocations: 4 kB / 0.4906 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1158, allocations: 0 / 0.4906 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.117, allocations: 0.7542 MB / 0.4913 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1171, allocations: 7.984 kB / 0.4913 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1172, allocations: 28.11 kB / 0.4914 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.1175, allocations: 76.72 kB / 0.4914 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1175, allocations: 8 kB / 0.4915 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1195, allocations: 2.029 MB / 0.4934 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1195, allocations: 3.938 kB / 0.4934 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.1201, allocations: 418.5 kB / 0.4938 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.1202, allocations: 92.86 kB / 0.4939 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1202, allocations: 4 kB / 0.4939 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1204, allocations: 11.98 kB / 0.4939 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1204, allocations: 15.98 kB / 0.494 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1205, allocations: 4 kB / 0.494 GB, free: 4.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1206, allocations: 144.3 kB / 0.4941 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1206, allocations: 0 / 0.4941 GB, free: 4.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.1211, allocations: 68 kB / 0.4942 GB, free: 4.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008858/0.122, allocations: 0.9418 MB / 0.4951 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.1227, allocations: 378.7 kB / 0.4954 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1227, allocations: 0 / 0.4954 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.1231, allocations: 266.3 kB / 0.4957 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1235, allocations: 32.95 kB / 0.4957 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1266, allocations: 2.638 MB / 0.4983 GB, free: 104 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.127, allocations: 0.7675 MB / 0.4991 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1271, allocations: 41.45 kB / 0.4991 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.1272, allocations: 63.42 kB / 0.4992 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1272, allocations: 0 / 0.4992 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.1631, allocations: 5.398 MB / 0.5044 GB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.34, allocations: 8.062 kB / 0.5044 GB, free: 9.746 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)