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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 111 kB / 17.8 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 183.8 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 246.4 MB, free: 4.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1529/0.1529, allocations: 8.087 MB / 306.7 MB, free: 2.645 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.91 kB / 423.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2087, allocations: 51.52 MB / 475.4 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003102/0.2118, allocations: 3.342 MB / 478.7 MB, free: 19.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2137, allocations: 1.856 MB / 480.6 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.2139, allocations: 8.812 kB / 480.6 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.2145, allocations: 206.4 kB / 480.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.215, allocations: 321.3 kB / 481.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.2168, allocations: 1.298 MB / 482.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.2174, allocations: 0.6535 MB / 483.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.2176, allocations: 215 kB / 483.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.2178, allocations: 277.3 kB / 483.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.2182, allocations: 346.9 kB / 483.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.2183, allocations: 60.03 kB / 484 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.2187, allocations: 289.2 kB / 484.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.2188, allocations: 131.5 kB / 484.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.219, allocations: 318 kB / 484.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.2198, allocations: 0.8203 MB / 485.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2198, allocations: 1.094 kB / 485.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2198, allocations: 3.938 kB / 485.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2198, allocations: 0 / 485.5 MB, free: 14.68 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006294/0.2261, allocations: 1.899 MB / 487.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2261, allocations: 17.48 kB / 487.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.2263, allocations: 69.34 kB / 487.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.2267, allocations: 435.9 kB / 487.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2267, allocations: 37.5 kB / 487.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.2268, allocations: 55.09 kB / 488 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.2277, allocations: 0.7138 MB / 488.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2278, allocations: 192 / 488.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.2278, allocations: 21.44 kB / 488.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2278, allocations: 15 kB / 488.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.2287, allocations: 0.6616 MB / 489.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.2315, allocations: 2.84 MB / 492.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2326, allocations: 1.094 MB / 493.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.2332, allocations: 495.3 kB / 493.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.2333, allocations: 17.66 kB / 493.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2333, allocations: 51.2 kB / 493.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.2333, allocations: 1.25 kB / 493.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01026/0.2436, allocations: 3.21 MB / 497.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2436, allocations: 115.3 kB / 497.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.244, allocations: 381.5 kB / 497.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.244, allocations: 49.7 kB / 497.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.2441, allocations: 209.6 kB / 497.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.2442, allocations: 257.7 kB / 498.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.2445, allocations: 154.6 kB / 498.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.2445, allocations: 366.7 kB / 498.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.245, allocations: 465.8 kB / 499.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.2456, allocations: 0.5209 MB / 499.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2467, allocations: 1.021 MB / 0.4889 GB, free: 2.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2467, allocations: 0 / 0.4889 GB, free: 2.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004388/0.2511, allocations: 2.016 MB / 0.4908 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2511, allocations: 8 kB / 0.4908 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2511, allocations: 4 kB / 0.4908 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005286/0.2564, allocations: 1.531 MB / 0.4923 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.2569, allocations: 127.8 kB / 0.4925 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.2688, allocations: 6.287 MB / 0.4986 GB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.2694, allocations: 79.53 kB / 0.4987 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.2695, allocations: 31.98 kB / 0.4987 GB, free: 8.391 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 (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.0003045/0.2698, allocations: 193.7 kB / 0.4989 GB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.27, allocations: 63.62 kB / 0.499 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.2754, allocations: 1.983 MB / 0.5009 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.2755, allocations: 8 kB / 0.5009 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2755, allocations: 0 / 0.5009 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2755, allocations: 7.984 kB / 0.5009 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/0.2817, allocations: 2.819 MB / 0.5037 GB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2817, allocations: 0 / 0.5037 GB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.282, allocations: 95.83 kB / 0.5038 GB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/0.2874, allocations: 1.293 MB / 0.505 GB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.2875, allocations: 19.98 kB / 0.505 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.2992, allocations: 6.21 MB / 0.5111 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2993, allocations: 3.938 kB / 0.5111 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/0.3046, allocations: 1.952 MB / 0.513 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.3049, allocations: 144.7 kB / 0.5131 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.305, allocations: 12 kB / 0.5132 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/0.3056, allocations: 43.97 kB / 0.5132 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.3058, allocations: 68.91 kB / 0.5133 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.3059, allocations: 24 kB / 0.5133 GB, free: 9.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003368/0.3062, allocations: 271.1 kB / 0.5135 GB, free: 8.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3062, allocations: 0 / 0.5135 GB, free: 8.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.307, allocations: 283.8 kB / 0.5138 GB, free: 8.648 MB / 382.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.0002511/0.3073, allocations: 135.1 kB / 0.5139 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.3113, allocations: 1.702 MB / 0.5156 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3113, allocations: 0 / 0.5156 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002874/0.3142, allocations: 1.114 MB / 0.5167 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.3147, allocations: 79.91 kB / 0.5168 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3167, allocations: 1.196 MB / 0.5179 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.3173, allocations: 0.8816 MB / 0.5188 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.3174, allocations: 55.41 kB / 0.5189 GB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3174, allocations: 0 / 0.5189 GB, free: 3.406 MB / 382.1 MB Notification: Performance of Templates: time 0.01743/0.3349, allocations: 12.06 MB / 0.5306 GB, free: 7.359 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.977592489914969] Failed to read output from testmodel.py, exit status != 0: 0.3420415259897709 0.354526581 0.132225287 Calling exit ...