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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 72.47 kB / 19.97 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 170.3 kB / 23.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 203.6 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03755/0.03755, allocations: 4.49 MB / 264.5 MB, free: 12.19 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.342e-06/1.342e-06, allocations: 0 / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.894e-05, allocations: 6.219 kB / 390.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004244/0.004273, allocations: 2.835 MB / 393 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.007725, allocations: 1.839 MB / 394.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.007987, allocations: 11.94 kB / 394.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.008605, allocations: 206.5 kB / 395 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008411/0.009446, allocations: 321.7 kB / 395.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.01204, allocations: 1.186 MB / 396.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.01298, allocations: 0.6722 MB / 397.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.01327, allocations: 131.7 kB / 397.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.0138, allocations: 387.1 kB / 397.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.01427, allocations: 255.3 kB / 397.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.194e-05/0.01436, allocations: 52 kB / 398 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.01512, allocations: 287.5 kB / 398.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.01527, allocations: 135.4 kB / 398.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.01555, allocations: 215.4 kB / 398.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.0167, allocations: 0.849 MB / 399.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.0167, allocations: 7.875 kB / 399.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0167, allocations: 3.938 kB / 399.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.01671, allocations: 0 / 399.5 MB, free: 3.223 MB / 318.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.00785/0.02456, allocations: 1.803 MB / 401.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.02461, allocations: 8.031 kB / 401.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.02479, allocations: 72.52 kB / 401.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.02547, allocations: 367.8 kB / 401.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.02552, allocations: 37.38 kB / 401.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.02562, allocations: 56.38 kB / 401.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.0272, allocations: 1.077 MB / 402.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.02722, allocations: 192 / 402.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.02729, allocations: 24.36 kB / 402.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.0273, allocations: 12.38 kB / 402.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.02844, allocations: 0.6871 MB / 403.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.03202, allocations: 1.609 MB / 405.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.03359, allocations: 0.7856 MB / 406 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.03429, allocations: 426.7 kB / 406.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.03438, allocations: 16.64 kB / 406.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.03443, allocations: 47.22 kB / 406.5 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.03443, allocations: 0 / 406.5 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.01293/0.04736, allocations: 3.113 MB / 409.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.04745, allocations: 115.5 kB / 409.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.04796, allocations: 373.6 kB / 410.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.04807, allocations: 45.7 kB / 410.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.04824, allocations: 205.6 kB / 410.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.0485, allocations: 261.7 kB / 410.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.0488, allocations: 154.6 kB / 410.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.04898, allocations: 362.7 kB / 411.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.04977, allocations: 473.8 kB / 411.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.05064, allocations: 0.5789 MB / 412.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.0523, allocations: 1.029 MB / 413.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.0523, allocations: 0 / 413.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006051/0.05835, allocations: 1.988 MB / 415.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.05837, allocations: 4 kB / 415.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.05838, allocations: 4 kB / 415.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006232/0.06461, allocations: 1.457 MB / 416.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.06522, allocations: 131.8 kB / 416.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.07815, allocations: 5.99 MB / 422.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.07888, allocations: 79.59 kB / 422.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.07896, allocations: 31.98 kB / 422.8 MB, free: 11.44 MB / 350.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.0003473/0.07931, allocations: 193.7 kB / 423 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.07945, allocations: 51.67 kB / 423.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/0.08563, allocations: 1.959 MB / 425 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.08564, allocations: 8 kB / 425 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.08565, allocations: 4 kB / 425 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.08566, allocations: 3.984 kB / 425 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/0.09225, allocations: 2.531 MB / 427.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.09225, allocations: 7.984 kB / 427.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.0926, allocations: 91.84 kB / 427.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006003/0.0986, allocations: 1.281 MB / 428.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.09867, allocations: 19.98 kB / 429 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.1112, allocations: 5.901 MB / 434.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.1112, allocations: 7.875 kB / 434.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.1171, allocations: 1.906 MB / 436.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.1173, allocations: 75.5 kB / 436.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1174, allocations: 16 kB / 436.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.118, allocations: 39.97 kB / 436.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.1182, allocations: 76.8 kB / 437 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.1183, allocations: 24 kB / 437 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.1187, allocations: 255.2 kB / 437.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1187, allocations: 0 / 437.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009117/0.1196, allocations: 279.9 kB / 437.5 MB, free: 12.54 MB / 366.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.0002884/0.1199, allocations: 135 kB / 437.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.124, allocations: 1.594 MB / 439.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.124, allocations: 0 / 439.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.127, allocations: 1.056 MB / 440.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.1275, allocations: 68.58 kB / 440.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1297, allocations: 1.206 MB / 441.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.13, allocations: 286 kB / 441.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1302, allocations: 80.34 kB / 441.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1304, allocations: 52.48 kB / 442 MB, free: 7.992 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1304, allocations: 4 kB / 442 MB, free: 7.988 MB / 366.1 MB Notification: Performance of Templates: time 0.1743/0.3047, allocations: 18.17 MB / 460.2 MB, free: 64.32 MB / 366.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: 5.149364072829485] Failed to read output from testmodel.py, exit status != 0: 0.313376035541296 0.322227384 0.303336461 Calling exit ...