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.00125/0.00125, allocations: 102.4 kB / 16.56 MB, free: 6.738 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.001181/0.001181, allocations: 194 kB / 17.48 MB, free: 6.027 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.452/1.452, allocations: 222.9 MB / 241.2 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04519/0.04519, allocations: 8.094 MB / 299.4 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.91 kB / 361.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2137, allocations: 51.51 MB / 413.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003251/0.217, allocations: 3.347 MB / 416.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2192, allocations: 1.847 MB / 418.4 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2194, allocations: 12 kB / 418.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.2199, allocations: 171.2 kB / 418.6 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.2205, allocations: 286.4 kB / 418.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2223, allocations: 1.244 MB / 420.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.2229, allocations: 0.6296 MB / 420.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2231, allocations: 185.4 kB / 420.9 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.2233, allocations: 255 kB / 421.2 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.2236, allocations: 342.5 kB / 421.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2237, allocations: 36 kB / 421.5 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.2241, allocations: 279.7 kB / 421.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.2242, allocations: 115.5 kB / 421.9 MB, free: 17.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.2244, allocations: 306.4 kB / 422.2 MB, free: 16.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.2249, allocations: 0.5963 MB / 422.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2249, allocations: 0 / 422.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2249, allocations: 0 / 422.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2249, allocations: 4 kB / 422.8 MB, free: 16.16 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.006499/0.2314, allocations: 1.88 MB / 424.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2315, allocations: 11.97 kB / 424.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2316, allocations: 72.19 kB / 424.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2321, allocations: 430 kB / 425.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2321, allocations: 37.38 kB / 425.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.2322, allocations: 48.38 kB / 425.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.2331, allocations: 0.7181 MB / 426 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2332, allocations: 192 / 426 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.2332, allocations: 23.94 kB / 426 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2332, allocations: 8 kB / 426 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.2341, allocations: 0.6677 MB / 426.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.237, allocations: 2.856 MB / 429.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2381, allocations: 1.087 MB / 430.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2387, allocations: 486.7 kB / 431.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.2387, allocations: 24.62 kB / 431.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2388, allocations: 43.22 kB / 431.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.2388, allocations: 0 / 431.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01071/0.2495, allocations: 3.214 MB / 434.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2496, allocations: 115.4 kB / 434.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.25, allocations: 385.5 kB / 434.9 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.2501, allocations: 41.7 kB / 434.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2502, allocations: 213.3 kB / 435.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.2504, allocations: 244.3 kB / 435.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2506, allocations: 158.6 kB / 435.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.2507, allocations: 362.7 kB / 435.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.2513, allocations: 465.8 kB / 436.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.2519, allocations: 0.5287 MB / 436.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2531, allocations: 1.017 MB / 437.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2531, allocations: 0 / 437.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005295/0.2584, allocations: 2.019 MB / 439.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2585, allocations: 4 kB / 439.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2585, allocations: 0 / 439.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005878/0.2644, allocations: 1.531 MB / 441.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.265, allocations: 127.8 kB / 441.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.276, allocations: 5.762 MB / 447.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.2767, allocations: 79.34 kB / 447.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.2768, allocations: 24 kB / 447.4 MB, free: 6.848 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.0002944/0.2771, allocations: 185.7 kB / 447.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.2773, allocations: 63.27 kB / 447.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/0.2827, allocations: 1.99 MB / 449.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2827, allocations: 11.98 kB / 449.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2827, allocations: 0 / 449.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2827, allocations: 3.984 kB / 449.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0061/0.2888, allocations: 2.828 MB / 452.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2889, allocations: 0 / 452.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.2892, allocations: 95.89 kB / 452.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/0.2947, allocations: 1.289 MB / 453.9 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.2948, allocations: 16 kB / 453.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.3054, allocations: 5.668 MB / 459.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3055, allocations: 0 / 459.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.3107, allocations: 1.94 MB / 461.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.3109, allocations: 144.4 kB / 461.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.311, allocations: 19.94 kB / 461.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.3115, allocations: 43.97 kB / 461.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.3118, allocations: 64.91 kB / 461.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.3118, allocations: 24 kB / 461.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.3121, allocations: 263.1 kB / 462.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3122, allocations: 0 / 462.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008293/0.313, allocations: 279.8 kB / 462.3 MB, free: 7.672 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.0002314/0.3132, allocations: 143 kB / 462.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003769/0.317, allocations: 1.661 MB / 464.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.317, allocations: 0 / 464.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.3198, allocations: 1.087 MB / 465.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.3204, allocations: 61.55 kB / 465.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3225, allocations: 1.415 MB / 466.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3229, allocations: 0.8819 MB / 467.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3231, allocations: 55.42 kB / 467.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3231, allocations: 0 / 467.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Templates: time 0.0147/0.3378, allocations: 12.01 MB / 479.6 MB, free: 6.297 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)