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-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.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.001285/0.001291, allocations: 107.1 kB / 16.57 MB, free: 6.719 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.001382/0.001382, allocations: 191.7 kB / 17.49 MB, free: 6.004 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.559/1.559, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04608/0.04608, allocations: 8.106 MB / 299.4 MB, free: 6.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 361.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2152, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002771/0.218, allocations: 2.486 MB / 415.7 MB, free: 23.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2195, allocations: 1.493 MB / 417.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2197, allocations: 4 kB / 417.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.22, allocations: 147.4 kB / 417.3 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.2203, allocations: 155 kB / 417.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2216, allocations: 0.9221 MB / 418.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.222, allocations: 406 kB / 418.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2222, allocations: 134.4 kB / 418.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2223, allocations: 163.3 kB / 419.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.2225, allocations: 215.1 kB / 419.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.2226, allocations: 24 kB / 419.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.2229, allocations: 195.8 kB / 419.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.2229, allocations: 79.67 kB / 419.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2231, allocations: 198.9 kB / 419.8 MB, free: 19.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.2234, allocations: 407 kB / 420.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2234, allocations: 0 / 420.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2234, allocations: 0 / 420.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2234, allocations: 0 / 420.2 MB, free: 18.82 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003371/0.2268, allocations: 1.134 MB / 421.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2268, allocations: 11.97 kB / 421.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.2269, allocations: 44.47 kB / 421.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.2273, allocations: 331.4 kB / 421.7 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2273, allocations: 28.94 kB / 421.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.2274, allocations: 28.38 kB / 421.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.2279, allocations: 413.3 kB / 422.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2279, allocations: 4.188 kB / 422.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.228, allocations: 19.88 kB / 422.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.228, allocations: 8 kB / 422.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2285, allocations: 398.1 kB / 422.6 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2302, allocations: 1.475 MB / 424.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.2312, allocations: 495.1 kB / 424.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.2315, allocations: 248.7 kB / 424.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.2315, allocations: 15.97 kB / 424.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2316, allocations: 38.56 kB / 424.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.523e-06/0.2316, allocations: 0 / 424.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.004164/0.2357, allocations: 1.506 MB / 426.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2358, allocations: 59.34 kB / 426.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.236, allocations: 262.7 kB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.2361, allocations: 37.7 kB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.2362, allocations: 168.8 kB / 426.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.2363, allocations: 149.8 kB / 427 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2364, allocations: 90.23 kB / 427.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.2365, allocations: 346.7 kB / 427.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.2367, allocations: 217 kB / 427.6 MB, free: 11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.237, allocations: 213 kB / 427.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.2377, allocations: 0.4915 MB / 428.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2377, allocations: 0 / 428.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001951/0.2396, allocations: 0.8911 MB / 429.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2397, allocations: 4 kB / 429.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2397, allocations: 4 kB / 429.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.2414, allocations: 390.1 kB / 429.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.2417, allocations: 67.91 kB / 429.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.2468, allocations: 5.479 MB / 435.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2471, allocations: 35.59 kB / 435.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2471, allocations: 15.94 kB / 435.2 MB, free: 3.008 MB / 302.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.0001759/0.2473, allocations: 157.8 kB / 435.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.2474, allocations: 35.62 kB / 435.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.2495, allocations: 0.9117 MB / 436.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2495, allocations: 8 kB / 436.3 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2495, allocations: 3.938 kB / 436.3 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2495, allocations: 4 kB / 436.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.2499, allocations: 0.5247 MB / 436.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2499, allocations: 0 / 436.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2501, allocations: 59.91 kB / 436.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.2518, allocations: 386.1 kB / 437.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.2518, allocations: 12 kB / 437.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.2577, allocations: 5.414 MB / 442.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2578, allocations: 0 / 442.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.26, allocations: 0.9353 MB / 443.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2602, allocations: 120.6 kB / 443.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.2602, allocations: 8 kB / 443.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.2606, allocations: 27.98 kB / 443.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2607, allocations: 44.31 kB / 443.8 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.2607, allocations: 16 kB / 443.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.261, allocations: 186 kB / 444 MB, free: 9.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.261, allocations: 0 / 444 MB, free: 9.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.2616, allocations: 171.8 kB / 444.2 MB, free: 9.477 MB / 318.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.0001995/0.2618, allocations: 127.2 kB / 444.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.2637, allocations: 0.9859 MB / 445.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2637, allocations: 0 / 445.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.265, allocations: 0.725 MB / 446 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2655, allocations: 52.47 kB / 446.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2668, allocations: 0.8901 MB / 447 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2671, allocations: 0.8013 MB / 447.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.2672, allocations: 35.44 kB / 447.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2673, allocations: 0 / 447.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of Templates: time 0.01163/0.2789, allocations: 9.795 MB / 457.6 MB, free: 11.93 MB / 334.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)