Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.conf.json 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 4.0.0+maint.om/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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.001611, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.5 MB / 230 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008423, allocations: 93.91 kB / 280.9 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04388/0.04388, allocations: 8.107 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.239e-05, allocations: 3.719 kB / 398.6 MB, free: 49.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.092, allocations: 52.54 MB / 451.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.1965, allocations: 79.81 MB / 0.5185 GB, free: 5.332 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.1967, allocations: 67.97 kB / 0.5185 GB, free: 5.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2443/0.441, allocations: 10.13 MB / 0.5284 GB, free: 78.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4411, allocations: 0 / 0.5284 GB, free: 78.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.4411, allocations: 8.219 kB / 0.5284 GB, free: 78.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002205/0.4433, allocations: 0.7494 MB / 0.5292 GB, free: 78.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4434, allocations: 13.88 kB / 0.5292 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.4435, allocations: 35.91 kB / 0.5292 GB, free: 78.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.4438, allocations: 280.7 kB / 0.5295 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4439, allocations: 7.969 kB / 0.5295 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.4439, allocations: 11.88 kB / 0.5295 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004725/0.4444, allocations: 294.7 kB / 0.5298 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.4449, allocations: 342.5 kB / 0.5301 GB, free: 77.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.445, allocations: 4 kB / 0.5301 GB, free: 77.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.445, allocations: 1.094 kB / 0.5301 GB, free: 77.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.445, allocations: 6.328 kB / 0.5301 GB, free: 77.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.4473, allocations: 1.489 MB / 0.5316 GB, free: 76.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4483, allocations: 381.2 kB / 0.5319 GB, free: 76.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.4486, allocations: 160.8 kB / 0.5321 GB, free: 76.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.4487, allocations: 92.52 kB / 0.5322 GB, free: 76.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4488, allocations: 37.33 kB / 0.5322 GB, free: 76.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.4488, allocations: 0 / 0.5322 GB, free: 76.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002323/0.4511, allocations: 0.6768 MB / 0.5329 GB, free: 76.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4512, allocations: 109.4 kB / 0.533 GB, free: 76.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4514, allocations: 199 kB / 0.5332 GB, free: 76.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.4514, allocations: 25.7 kB / 0.5332 GB, free: 76.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.4515, allocations: 167.5 kB / 0.5333 GB, free: 76.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.4516, allocations: 93.59 kB / 0.5334 GB, free: 76.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.4516, allocations: 0 / 0.5334 GB, free: 76.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4517, allocations: 338.1 kB / 0.5338 GB, free: 75.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.452, allocations: 145.5 kB / 0.5339 GB, free: 75.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.4522, allocations: 178.6 kB / 0.5341 GB, free: 75.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.4527, allocations: 177.9 kB / 0.5342 GB, free: 75.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4527, allocations: 0 / 0.5342 GB, free: 75.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002572/0.4553, allocations: 0.7225 MB / 0.5349 GB, free: 75.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4554, allocations: 5.281 kB / 0.5349 GB, free: 75.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4554, allocations: 1.094 kB / 0.5349 GB, free: 75.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.4574, allocations: 414.9 kB / 0.5353 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.4576, allocations: 49.14 kB / 0.5354 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.4621, allocations: 3.728 MB / 0.539 GB, free: 73.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.4624, allocations: 25.03 kB / 0.5391 GB, free: 73.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.4625, allocations: 14.39 kB / 0.5391 GB, free: 73.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.4626, allocations: 103.1 kB / 0.5392 GB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002268/0.4649, allocations: 0.6841 MB / 0.5398 GB, free: 73.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.465, allocations: 24.31 kB / 0.5399 GB, free: 73.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.4672, allocations: 0.7672 MB / 0.5406 GB, free: 72.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4673, allocations: 6.922 kB / 0.5406 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4673, allocations: 3.531 kB / 0.5406 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4673, allocations: 4 kB / 0.5406 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4677, allocations: 436.8 kB / 0.541 GB, free: 72.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4678, allocations: 0 / 0.541 GB, free: 72.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.4679, allocations: 36.25 kB / 0.5411 GB, free: 72.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.4697, allocations: 413.5 kB / 0.5415 GB, free: 72.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.4697, allocations: 7.25 kB / 0.5415 GB, free: 72.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.4736, allocations: 3.719 MB / 0.5451 GB, free: 69.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4736, allocations: 0 / 0.5451 GB, free: 69.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.4757, allocations: 0.8037 MB / 0.5459 GB, free: 69.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.4757, allocations: 108.5 kB / 0.546 GB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.4758, allocations: 0 / 0.546 GB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.4761, allocations: 11.59 kB / 0.546 GB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.4761, allocations: 26.27 kB / 0.546 GB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4762, allocations: 15.91 kB / 0.546 GB, free: 68.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.4763, allocations: 155.2 kB / 0.5462 GB, free: 68.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4763, allocations: 3.969 kB / 0.5462 GB, free: 68.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005153/0.4768, allocations: 112.8 kB / 0.5463 GB, free: 68.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002467/0.4793, allocations: 1.602 MB / 0.5479 GB, free: 67.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.4808, allocations: 0.69 MB / 0.5485 GB, free: 66.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4808, allocations: 0 / 0.5485 GB, free: 66.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4819, allocations: 0.5149 MB / 0.549 GB, free: 66.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4821, allocations: 16.39 kB / 0.5491 GB, free: 66.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.4829, allocations: 396.2 kB / 0.5494 GB, free: 66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.4831, allocations: 0.7806 MB / 0.5502 GB, free: 65.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.4833, allocations: 34.05 kB / 0.5502 GB, free: 65.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4834, allocations: 91.39 kB / 0.5503 GB, free: 65.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4834, allocations: 0 / 0.5503 GB, free: 65.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.5092, allocations: 7.616 MB / 0.5578 GB, free: 57.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.5094, allocations: 152.7 kB / 0.5579 GB, free: 57.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.458, allocations: 3.938 kB / 0.5579 GB, free: 57.28 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)