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/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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 89.41 kB / 16.71 MB, free: 6.637 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.001162/0.001162, allocations: 176 kB / 17.62 MB, free: 6.16 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.3/1.3, allocations: 223.3 MB / 241.7 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0404/0.0404, allocations: 8.101 MB / 300.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8 kB / 364.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002191/0.1939, allocations: 2.949 MB / 419.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1959, allocations: 1.835 MB / 421.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1961, allocations: 12 kB / 421.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1964, allocations: 171.2 kB / 421.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.1969, allocations: 282.4 kB / 421.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1986, allocations: 1.222 MB / 423.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.1991, allocations: 0.6258 MB / 423.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1993, allocations: 181.4 kB / 423.9 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1995, allocations: 242.9 kB / 424.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1998, allocations: 326.5 kB / 424.5 MB, free: 17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.1998, allocations: 28 kB / 424.5 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.2002, allocations: 259.8 kB / 424.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.2003, allocations: 111.5 kB / 424.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.2005, allocations: 308.1 kB / 425.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.2009, allocations: 0.5882 MB / 425.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2009, allocations: 0 / 425.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2009, allocations: 4 kB / 425.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2009, allocations: 0 / 425.8 MB, free: 15.71 MB / 302.1 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.006258/0.2072, allocations: 1.778 MB / 427.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2072, allocations: 11.97 kB / 427.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2074, allocations: 76.17 kB / 427.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.2078, allocations: 437.9 kB / 428.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2078, allocations: 37.38 kB / 428.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.2079, allocations: 52.38 kB / 428.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.2088, allocations: 0.7216 MB / 428.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2089, allocations: 192 / 428.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.2089, allocations: 23.94 kB / 428.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2089, allocations: 12 kB / 428.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.2098, allocations: 0.6521 MB / 429.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.2127, allocations: 2.883 MB / 432.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.2139, allocations: 1.083 MB / 433.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.2144, allocations: 490.7 kB / 434 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.2145, allocations: 20.62 kB / 434 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2145, allocations: 43.22 kB / 434.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.484e-06/0.2145, allocations: 4 kB / 434.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01112/0.2256, allocations: 3.191 MB / 437.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2257, allocations: 119.4 kB / 437.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.2261, allocations: 373.5 kB / 437.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.2262, allocations: 49.7 kB / 437.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.2263, allocations: 209.3 kB / 438 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.2264, allocations: 252.3 kB / 438.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.2265, allocations: 77.67 kB / 438.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.2266, allocations: 366.8 kB / 438.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.2272, allocations: 461.8 kB / 439.1 MB, free: 1.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.2278, allocations: 0.5248 MB / 439.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.229, allocations: 1.017 MB / 440.7 MB, free: 268 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.229, allocations: 3.938 kB / 440.7 MB, free: 264 kB / 302.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005505/0.2345, allocations: 2.023 MB / 442.7 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2346, allocations: 11.94 kB / 442.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2346, allocations: 0 / 442.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/0.2407, allocations: 1.535 MB / 444.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.2413, allocations: 127.9 kB / 444.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.2525, allocations: 5.747 MB / 450.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.2532, allocations: 79.34 kB / 450.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.2532, allocations: 27.98 kB / 450.2 MB, free: 6.559 MB / 318.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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.2535, allocations: 185.7 kB / 450.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2536, allocations: 59.28 kB / 450.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/0.2593, allocations: 1.986 MB / 452.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2593, allocations: 8 kB / 452.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2593, allocations: 0 / 452.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2594, allocations: 7.984 kB / 452.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/0.2657, allocations: 2.832 MB / 455.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2657, allocations: 0 / 455.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.2661, allocations: 95.83 kB / 455.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005744/0.2718, allocations: 1.304 MB / 456.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.2719, allocations: 16 kB / 456.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.2828, allocations: 5.645 MB / 462.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2828, allocations: 0 / 462.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.2883, allocations: 1.948 MB / 464.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.2885, allocations: 148.4 kB / 464.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.2886, allocations: 15.94 kB / 464.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.2892, allocations: 55.97 kB / 464.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.2894, allocations: 60.91 kB / 464.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.2894, allocations: 23.98 kB / 464.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.2897, allocations: 267.2 kB / 464.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2897, allocations: 0 / 464.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008069/0.2906, allocations: 279.8 kB / 465.1 MB, free: 7.371 MB / 334.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 (56): * Single equations (assignments): 55 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.2908, allocations: 139 kB / 465.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.2947, allocations: 1.656 MB / 466.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.2947, allocations: 0 / 466.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.2976, allocations: 1.064 MB / 468 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.2981, allocations: 65.53 kB / 468 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3, allocations: 1.426 MB / 469.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3005, allocations: 0.8819 MB / 470.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3006, allocations: 59.41 kB / 470.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3006, allocations: 0 / 470.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Templates: time 0.01587/0.3165, allocations: 11.95 MB / 482.4 MB, free: 6.082 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)