Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 188.1 kB / 7.844 MB, free: 2.5 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.238/1.238, allocations: 221.4 MB / 229.7 MB, free: 3.074 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.0009292/0.0009293, allocations: 92.44 kB / 280.5 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04299/0.04299, allocations: 8.09 MB / 339.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/0.2337, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.3233, allocations: 52.52 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.5899, allocations: 80.49 MB / 0.5186 GB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.5901, allocations: 64.28 kB / 0.5186 GB, free: 13.56 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.04872/0.6389, allocations: 18.98 MB / 0.5372 GB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6389, allocations: 15.94 kB / 0.5372 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.6391, allocations: 75.16 kB / 0.5373 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.6397, allocations: 417.1 kB / 0.5377 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.6397, allocations: 18.41 kB / 0.5377 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.6398, allocations: 24 kB / 0.5377 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009719/0.6408, allocations: 0.6273 MB / 0.5383 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6419, allocations: 0.6462 MB / 0.5389 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6419, allocations: 0 / 0.5389 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.642, allocations: 0 / 0.5389 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.642, allocations: 16 kB / 0.5389 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.6465, allocations: 2.97 MB / 0.5419 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.6475, allocations: 0.7154 MB / 0.5425 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.6481, allocations: 455.5 kB / 0.543 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.6484, allocations: 97.11 kB / 0.5431 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6484, allocations: 53.34 kB / 0.5431 GB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.539e-06/0.6484, allocations: 7.984 kB / 0.5431 GB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.005736/0.6542, allocations: 1.749 MB / 0.5448 GB, free: 8.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.6543, allocations: 122.9 kB / 0.545 GB, free: 8.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.6547, allocations: 292.4 kB / 0.5452 GB, free: 8.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.6548, allocations: 25.7 kB / 0.5453 GB, free: 8.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.6549, allocations: 161 kB / 0.5454 GB, free: 8.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.6552, allocations: 236.4 kB / 0.5456 GB, free: 7.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.6552, allocations: 0 / 0.5456 GB, free: 7.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6554, allocations: 356.3 kB / 0.546 GB, free: 7.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.6559, allocations: 364 kB / 0.5463 GB, free: 7.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.6564, allocations: 414 kB / 0.5467 GB, free: 7.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6576, allocations: 454.8 kB / 0.5472 GB, free: 6.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6576, allocations: 0 / 0.5472 GB, free: 6.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005897/0.6635, allocations: 1.796 MB / 0.5489 GB, free: 5.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6635, allocations: 4 kB / 0.5489 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6635, allocations: 0 / 0.5489 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005429/0.669, allocations: 1.098 MB / 0.55 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.6694, allocations: 83.88 kB / 0.5501 GB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.6797, allocations: 5.078 MB / 0.555 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.6804, allocations: 51.5 kB / 0.5551 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.6805, allocations: 23.98 kB / 0.5551 GB, free: 15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.6807, allocations: 113.8 kB / 0.5552 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6808, allocations: 59.25 kB / 0.5553 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.6869, allocations: 1.91 MB / 0.5571 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.687, allocations: 8 kB / 0.5571 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.687, allocations: 0 / 0.5571 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.687, allocations: 3.984 kB / 0.5571 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.6882, allocations: 0.8726 MB / 0.558 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6882, allocations: 0 / 0.558 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.6886, allocations: 95.83 kB / 0.5581 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005573/0.6941, allocations: 1.11 MB / 0.5592 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.6944, allocations: 4 kB / 0.5592 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.7052, allocations: 5.086 MB / 0.5641 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7052, allocations: 0 / 0.5641 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005906/0.7112, allocations: 1.882 MB / 0.566 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005982/0.7172, allocations: 2.273 MB / 0.5682 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.7174, allocations: 132.3 kB / 0.5683 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.7176, allocations: 0 / 0.5683 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.7182, allocations: 39.88 kB / 0.5684 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7183, allocations: 52.64 kB / 0.5684 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.7184, allocations: 23.98 kB / 0.5684 GB, free: 1.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002595/0.7186, allocations: 231.2 kB / 0.5687 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001434/0.7201, allocations: 235.8 kB / 0.5689 GB, free: 0.6484 MB / 378.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 (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002586/0.7203, allocations: 119 kB / 0.569 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.7236, allocations: 1.266 MB / 0.5702 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7237, allocations: 0 / 0.5702 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.7261, allocations: 0.8701 MB / 0.5711 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.7265, allocations: 37.47 kB / 0.5711 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.7285, allocations: 0.7568 MB / 0.5719 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.7291, allocations: 0.9305 MB / 0.5728 GB, free: 12.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.7291, allocations: 0 / 0.5728 GB, free: 12.58 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)