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.001509/0.001509, allocations: 107.8 kB / 17.07 MB, free: 5.68 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.001761/0.001761, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04983/0.04983, allocations: 8.11 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2026, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.00329/0.2059, allocations: 3.329 MB / 418 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2079, allocations: 1.862 MB / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2081, allocations: 12 kB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.2085, allocations: 202.8 kB / 420.1 MB, free: 20 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.2091, allocations: 325.9 kB / 420.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2107, allocations: 1.276 MB / 421.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005516/0.2113, allocations: 0.6648 MB / 422.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.2116, allocations: 212.8 kB / 422.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2118, allocations: 274.9 kB / 422.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.2121, allocations: 350.6 kB / 423.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.2121, allocations: 52 kB / 423.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.2125, allocations: 291.7 kB / 423.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.2126, allocations: 131.5 kB / 423.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2128, allocations: 322.4 kB / 424 MB, free: 16.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.2134, allocations: 0.8099 MB / 424.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2134, allocations: 0 / 424.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2135, allocations: 0 / 424.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.2135, allocations: 0 / 424.8 MB, free: 15.32 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.006104/0.2196, allocations: 1.883 MB / 426.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.2196, allocations: 15.89 kB / 426.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2197, allocations: 68.19 kB / 426.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.2202, allocations: 433.9 kB / 427.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2202, allocations: 41.38 kB / 427.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.2203, allocations: 48.38 kB / 427.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.2211, allocations: 0.7181 MB / 428 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2211, allocations: 192 / 428 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.2212, allocations: 23.94 kB / 428 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2212, allocations: 12 kB / 428 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.2219, allocations: 0.6599 MB / 428.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.2245, allocations: 2.84 MB / 431.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2256, allocations: 1.097 MB / 432.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.2261, allocations: 490.7 kB / 433.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.272e-05/0.2261, allocations: 20.62 kB / 433.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2262, allocations: 47.22 kB / 433.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.743e-06/0.2262, allocations: 0 / 433.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.00984/0.236, allocations: 3.202 MB / 436.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2361, allocations: 119.4 kB / 436.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2364, allocations: 377.5 kB / 436.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.2364, allocations: 41.7 kB / 436.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2365, allocations: 213.3 kB / 437.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2366, allocations: 252.3 kB / 437.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2369, allocations: 154.6 kB / 437.5 MB, free: 2.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.2369, allocations: 362.7 kB / 437.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.2374, allocations: 473.8 kB / 438.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.238, allocations: 0.5209 MB / 438.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2392, allocations: 1.017 MB / 439.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2392, allocations: 4 kB / 439.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005027/0.2443, allocations: 2.011 MB / 441.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2443, allocations: 7.938 kB / 441.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2443, allocations: 0 / 441.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005394/0.2497, allocations: 1.531 MB / 443.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.2502, allocations: 123.9 kB / 443.5 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.2611, allocations: 6.29 MB / 449.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.2616, allocations: 79.34 kB / 449.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.2617, allocations: 28 kB / 449.9 MB, free: 5.477 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.0002577/0.262, allocations: 193.6 kB / 450.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2621, allocations: 59.33 kB / 450.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.2672, allocations: 1.983 MB / 452.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2672, allocations: 8 kB / 452.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2672, allocations: 0 / 452.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.2672, allocations: 7.922 kB / 452.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.2732, allocations: 2.827 MB / 455 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2733, allocations: 0 / 455 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.2736, allocations: 95.83 kB / 455.1 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005379/0.279, allocations: 1.289 MB / 456.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.2791, allocations: 20 kB / 456.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.2899, allocations: 6.209 MB / 462.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2899, allocations: 0 / 462.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/0.295, allocations: 1.94 MB / 464.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.2952, allocations: 148.1 kB / 464.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.2953, allocations: 16 kB / 464.7 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.2958, allocations: 43.97 kB / 464.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.296, allocations: 60.91 kB / 464.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.2961, allocations: 28 kB / 464.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.2964, allocations: 267 kB / 465.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2964, allocations: 0 / 465.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007782/0.2972, allocations: 287.8 kB / 465.4 MB, free: 5.738 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.2974, allocations: 143 kB / 465.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.3013, allocations: 1.684 MB / 467.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3013, allocations: 0 / 467.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.304, allocations: 1.103 MB / 468.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.3045, allocations: 77.47 kB / 468.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3063, allocations: 1.151 MB / 469.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.3068, allocations: 0.8816 MB / 470.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.307, allocations: 84.34 kB / 470.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3072, allocations: 51.42 kB / 470.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3072, allocations: 0 / 470.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of Templates: time 0.02453/0.3317, allocations: 18.65 MB / 489.2 MB, free: 13.89 MB / 366.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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)