Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 172.9 kB / 16.8 MB, free: 5.004 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240.8 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007553/0.0007553, allocations: 93.12 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0526/0.0526, allocations: 8.103 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 12 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09301, allocations: 52.52 MB / 466.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3914, allocations: 81.66 MB / 0.5357 GB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.3916, allocations: 69.56 kB / 0.5358 GB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04987/0.4415, allocations: 19.53 MB / 0.5548 GB, free: 2.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4415, allocations: 0 / 0.5548 GB, free: 2.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.4416, allocations: 16 kB / 0.5549 GB, free: 2.871 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004154/0.4457, allocations: 1.269 MB / 0.5561 GB, free: 1.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4458, allocations: 8.031 kB / 0.5561 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.4461, allocations: 76.09 kB / 0.5562 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007904/0.4469, allocations: 481.7 kB / 0.5566 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.4469, allocations: 37.38 kB / 0.5567 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.447, allocations: 56.34 kB / 0.5567 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4483, allocations: 0.761 MB / 0.5575 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4483, allocations: 192 / 0.5575 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.4484, allocations: 23.94 kB / 0.5575 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4484, allocations: 12 kB / 0.5575 GB, free: 52 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4496, allocations: 0.6834 MB / 0.5582 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004763/0.4543, allocations: 3.153 MB / 0.5612 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.4561, allocations: 1.296 MB / 0.5625 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.4568, allocations: 466.7 kB / 0.563 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.457, allocations: 101.7 kB / 0.5631 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.4571, allocations: 47.16 kB / 0.5631 GB, free: 9.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.236e-06/0.4571, allocations: 0 / 0.5631 GB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.01245/0.4695, allocations: 3.343 MB / 0.5664 GB, free: 6.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.4697, allocations: 107.5 kB / 0.5665 GB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.4703, allocations: 389.7 kB / 0.5668 GB, free: 6.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.4704, allocations: 37.7 kB / 0.5669 GB, free: 5.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.4706, allocations: 241.2 kB / 0.5671 GB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.4709, allocations: 248.3 kB / 0.5673 GB, free: 5.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4709, allocations: 12 kB / 0.5673 GB, free: 5.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4711, allocations: 362.7 kB / 0.5677 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.4717, allocations: 365.2 kB / 0.568 GB, free: 4.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.4724, allocations: 417.7 kB / 0.5684 GB, free: 4.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4736, allocations: 0.7909 MB / 0.5692 GB, free: 3.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4737, allocations: 0 / 0.5692 GB, free: 3.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004957/0.4786, allocations: 1.738 MB / 0.5709 GB, free: 1.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4787, allocations: 8 kB / 0.5709 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4787, allocations: 0 / 0.5709 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00506/0.4837, allocations: 1.224 MB / 0.5721 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.4842, allocations: 79.89 kB / 0.5722 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.4944, allocations: 5.333 MB / 0.5774 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4951, allocations: 51.52 kB / 0.5774 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.4952, allocations: 27.98 kB / 0.5775 GB, free: 10.93 MB / 394.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 () * Number of clocked 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.0003763/0.4955, allocations: 181.9 kB / 0.5776 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4957, allocations: 63.33 kB / 0.5777 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.5009, allocations: 1.916 MB / 0.5796 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.501, allocations: 11.98 kB / 0.5796 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.501, allocations: 0 / 0.5796 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.501, allocations: 3.984 kB / 0.5796 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.5075, allocations: 2.891 MB / 0.5824 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5075, allocations: 0 / 0.5824 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.5079, allocations: 91.89 kB / 0.5825 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004879/0.5128, allocations: 1.117 MB / 0.5836 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.5129, allocations: 16 kB / 0.5836 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.5229, allocations: 5.287 MB / 0.5888 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5229, allocations: 0 / 0.5888 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.5282, allocations: 1.897 MB / 0.5906 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.5285, allocations: 144.2 kB / 0.5908 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.5286, allocations: 16 kB / 0.5908 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.5292, allocations: 51.97 kB / 0.5908 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.5294, allocations: 69.22 kB / 0.5909 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.5295, allocations: 27.98 kB / 0.5909 GB, free: 12.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004252/0.5299, allocations: 287.1 kB / 0.5912 GB, free: 12.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.833e-06/0.53, allocations: 0 / 0.5912 GB, free: 12.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009776/0.5309, allocations: 299.6 kB / 0.5915 GB, free: 12.32 MB / 410.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 () * 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 (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.000248/0.5312, allocations: 138.8 kB / 0.5916 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.5344, allocations: 1.348 MB / 0.5929 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5344, allocations: 0 / 0.5929 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.5367, allocations: 0.9451 MB / 0.5939 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.5373, allocations: 73.53 kB / 0.5939 GB, free: 9.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.5393, allocations: 1.308 MB / 0.5952 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.5397, allocations: 0.885 MB / 0.5961 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.5401, allocations: 76.34 kB / 0.5961 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.5402, allocations: 55.42 kB / 0.5962 GB, free: 7.414 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5402, allocations: 0 / 0.5962 GB, free: 7.414 MB / 410.7 MB Notification: Performance of Templates: time 0.0253/0.5655, allocations: 16.71 MB / 0.6125 GB, free: 6.777 MB / 426.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)