Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.00125/0.00125, allocations: 115.1 kB / 17.17 MB, free: 5.719 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.001248/0.001248, allocations: 196.5 kB / 20.12 MB, free: 2.809 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.374/1.374, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.05455/0.05455, allocations: 8.227 MB / 311.6 MB, free: 2.062 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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 434 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2459, allocations: 54.35 MB / 488.3 MB, free: 27.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002365/0.2483, allocations: 1.621 MB / 489.9 MB, free: 26.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2498, allocations: 1.555 MB / 491.5 MB, free: 24.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.2499, allocations: 5.188 kB / 491.5 MB, free: 24.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.2502, allocations: 128.1 kB / 491.6 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.2505, allocations: 140.5 kB / 491.8 MB, free: 24.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.2521, allocations: 1.184 MB / 492.9 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.2524, allocations: 240.6 kB / 493.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2525, allocations: 56.36 kB / 493.2 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.2526, allocations: 99.55 kB / 493.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2528, allocations: 128.7 kB / 493.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.2528, allocations: 21.81 kB / 493.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.2531, allocations: 258.5 kB / 493.7 MB, free: 23.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.2532, allocations: 44.09 kB / 493.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.2533, allocations: 119.1 kB / 493.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.2537, allocations: 434.6 kB / 494.3 MB, free: 23.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2537, allocations: 0 / 494.3 MB, free: 23.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2537, allocations: 3.938 kB / 494.3 MB, free: 23.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2537, allocations: 1.375 kB / 494.3 MB, free: 23.08 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002646/0.2563, allocations: 0.9123 MB / 495.2 MB, free: 22.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2564, allocations: 13.52 kB / 495.2 MB, free: 22.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2564, allocations: 57.67 kB / 495.3 MB, free: 22.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.2565, allocations: 30.75 kB / 495.3 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2567, allocations: 262 kB / 495.6 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2568, allocations: 11.8 kB / 495.6 MB, free: 22.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.2568, allocations: 22.03 kB / 495.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.2572, allocations: 286.7 kB / 495.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2572, allocations: 3.938 kB / 495.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2572, allocations: 10.66 kB / 495.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2572, allocations: 3.719 kB / 495.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.2575, allocations: 249.3 kB / 496.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2588, allocations: 1.142 MB / 497.3 MB, free: 20.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.2593, allocations: 277.7 kB / 497.6 MB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.2595, allocations: 141 kB / 497.7 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.2595, allocations: 5.438 kB / 497.7 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2595, allocations: 39.98 kB / 497.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/0.2595, allocations: 0 / 497.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002893/0.2624, allocations: 0.95 MB / 498.7 MB, free: 19.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2625, allocations: 87.05 kB / 498.8 MB, free: 19.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2626, allocations: 210.5 kB / 499 MB, free: 19.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.2627, allocations: 32.45 kB / 499 MB, free: 19.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.2627, allocations: 136.3 kB / 499.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.2628, allocations: 86.19 kB / 499.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.2629, allocations: 69.66 kB / 499.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.2629, allocations: 331.3 kB / 499.6 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2631, allocations: 161.7 kB / 499.8 MB, free: 18.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.2633, allocations: 189.5 kB / 500 MB, free: 18.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.2638, allocations: 373.1 kB / 0.4886 GB, free: 18.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2638, allocations: 1.188 kB / 0.4886 GB, free: 18.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00159/0.2654, allocations: 0.6788 MB / 0.4893 GB, free: 18.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2654, allocations: 5.562 kB / 0.4893 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2654, allocations: 0 / 0.4893 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.2671, allocations: 388.5 kB / 0.4897 GB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2673, allocations: 51.56 kB / 0.4897 GB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.271, allocations: 2.755 MB / 0.4924 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2712, allocations: 35.81 kB / 0.4924 GB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2713, allocations: 11.8 kB / 0.4924 GB, free: 15.62 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.2714, allocations: 140.1 kB / 0.4926 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.2714, allocations: 26.27 kB / 0.4926 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.2731, allocations: 0.6381 MB / 0.4932 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2731, allocations: 4.156 kB / 0.4932 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.2731, allocations: 3.938 kB / 0.4932 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2731, allocations: 3.984 kB / 0.4932 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.2734, allocations: 385.8 kB / 0.4936 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2734, allocations: 0 / 0.4936 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2735, allocations: 39.53 kB / 0.4936 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.2751, allocations: 368.5 kB / 0.494 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.2751, allocations: 10.44 kB / 0.494 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.2785, allocations: 2.722 MB / 0.4967 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2785, allocations: 0 / 0.4967 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.28, allocations: 0.6974 MB / 0.4973 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.2801, allocations: 103.8 kB / 0.4974 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.2801, allocations: 5.031 kB / 0.4974 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2803, allocations: 20.77 kB / 0.4975 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2804, allocations: 22.72 kB / 0.4975 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2804, allocations: 5.344 kB / 0.4975 GB, free: 11.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2805, allocations: 157.5 kB / 0.4976 GB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2805, allocations: 0 / 0.4976 GB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.281, allocations: 104.3 kB / 0.4977 GB, free: 11.53 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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.2827, allocations: 1.247 MB / 0.499 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.2841, allocations: 0.6212 MB / 0.4996 GB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2841, allocations: 0.9688 kB / 0.4996 GB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2852, allocations: 434.6 kB / 0.5 GB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2855, allocations: 28.47 kB / 0.5 GB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.2904, allocations: 3.335 MB / 0.5033 GB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2906, allocations: 0.7488 MB / 0.504 GB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2907, allocations: 36.83 kB / 0.504 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.2908, allocations: 67.97 kB / 0.5041 GB, free: 6.695 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2908, allocations: 0 / 0.5041 GB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.3226, allocations: 8.874 MB / 0.5128 GB, free: 14.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.7, allocations: 2.25 kB / 0.5128 GB, free: 14.99 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.07837093481794] Failed to read output from testmodel.py, exit status != 0: 11.794966109097004 11.819505974 11.561361032 Calling exit ...