Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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 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 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) 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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.7 kB / 16.45 MB, free: 6.449 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.001432/0.001432, allocations: 189.5 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0612/0.0612, allocations: 8.104 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1333, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.00376/0.1371, allocations: 2.447 MB / 468.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1395, allocations: 1.5 MB / 470 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1396, allocations: 4 kB / 470 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.1401, allocations: 167 kB / 470.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.1405, allocations: 186.8 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1422, allocations: 0.9566 MB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.1427, allocations: 426 kB / 471.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.143, allocations: 156.1 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1431, allocations: 175.3 kB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1435, allocations: 227 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.1435, allocations: 36 kB / 472.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.1439, allocations: 199.8 kB / 472.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.144, allocations: 83.69 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1442, allocations: 206.9 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.1448, allocations: 0.5374 MB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1448, allocations: 3.938 kB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1448, allocations: 0 / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1448, allocations: 0 / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003415/0.1483, allocations: 1.131 MB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1483, allocations: 8.031 kB / 474.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1484, allocations: 48.47 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1489, allocations: 331.4 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1489, allocations: 20.94 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.149, allocations: 32.38 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1496, allocations: 413.3 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1497, allocations: 192 / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.1497, allocations: 19.94 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1498, allocations: 8 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1505, allocations: 394 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.1526, allocations: 1.486 MB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1536, allocations: 491.1 kB / 477.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.154, allocations: 244.8 kB / 477.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.1541, allocations: 15.98 kB / 477.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1541, allocations: 38.56 kB / 477.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.804e-06/0.1541, allocations: 3.938 kB / 477.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004235/0.1584, allocations: 1.506 MB / 479.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1584, allocations: 55.41 kB / 479.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.1588, allocations: 274.5 kB / 479.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.1588, allocations: 33.7 kB / 479.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.159, allocations: 172.9 kB / 479.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1591, allocations: 141.8 kB / 480.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1593, allocations: 90.23 kB / 480.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1595, allocations: 342.8 kB / 480.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1598, allocations: 213 kB / 480.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.1601, allocations: 217 kB / 480.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.1608, allocations: 499.4 kB / 481.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1608, allocations: 3.938 kB / 481.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002056/0.1629, allocations: 0.8911 MB / 482.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1629, allocations: 4 kB / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1629, allocations: 0 / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.1648, allocations: 394.1 kB / 482.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1651, allocations: 67.91 kB / 482.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.1719, allocations: 5.915 MB / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.1722, allocations: 39.61 kB / 488.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.1723, allocations: 16 kB / 488.7 MB, free: 10.6 MB / 366.1 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.1725, allocations: 165.6 kB / 488.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.1726, allocations: 35.53 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.1748, allocations: 0.9117 MB / 489.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1748, allocations: 4 kB / 489.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.1748, allocations: 0 / 489.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1748, allocations: 3.984 kB / 489.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.1754, allocations: 0.5286 MB / 490.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1754, allocations: 4 kB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1756, allocations: 55.92 kB / 490.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.1772, allocations: 386.1 kB / 490.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.1773, allocations: 11.98 kB / 490.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.184, allocations: 5.863 MB / 496.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.184, allocations: 0 / 496.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.1864, allocations: 0.9431 MB / 497.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1866, allocations: 120.5 kB / 497.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1866, allocations: 11.94 kB / 497.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.187, allocations: 27.97 kB / 497.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.1871, allocations: 40.39 kB / 497.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.1872, allocations: 12 kB / 497.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.1875, allocations: 190 kB / 498 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1875, allocations: 0 / 498 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007393/0.1882, allocations: 171.8 kB / 498.2 MB, free: 0.5859 MB / 366.1 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.1885, allocations: 123.2 kB / 498.3 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.1904, allocations: 0.9898 MB / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1904, allocations: 0 / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.1917, allocations: 0.7366 MB / 0.4883 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1922, allocations: 56.36 kB / 0.4884 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1935, allocations: 0.7143 MB / 0.4891 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1939, allocations: 0.8013 MB / 0.4899 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.1941, allocations: 50.86 kB / 0.4899 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.1941, allocations: 31.44 kB / 0.4899 GB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1942, allocations: 0 / 0.4899 GB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01906/0.2132, allocations: 10.31 MB / 0.5 GB, free: 2.711 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)