Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001256/0.001256, allocations: 109.4 kB / 17.17 MB, free: 5.867 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.00127/0.00127, allocations: 195.6 kB / 20.12 MB, free: 2.93 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.405/1.405, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.05576/0.05576, allocations: 8.233 MB / 311.6 MB, free: 2.066 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 434 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2407, allocations: 54.35 MB / 488.3 MB, free: 27.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002144/0.2428, allocations: 1.257 MB / 489.6 MB, free: 26.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2444, allocations: 1.512 MB / 491.1 MB, free: 25.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.2445, allocations: 2.344 kB / 491.1 MB, free: 25.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.2448, allocations: 109.7 kB / 491.2 MB, free: 25.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.2451, allocations: 103.6 kB / 491.3 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2465, allocations: 1.017 MB / 492.3 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.2467, allocations: 168 kB / 492.5 MB, free: 24.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2468, allocations: 35.75 kB / 492.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.2469, allocations: 65.69 kB / 492.6 MB, free: 24.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.247, allocations: 85.36 kB / 492.7 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.247, allocations: 12.69 kB / 492.7 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.2474, allocations: 224.6 kB / 492.9 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.2474, allocations: 33.58 kB / 492.9 MB, free: 24.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.2475, allocations: 75.69 kB / 493 MB, free: 24.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.2478, allocations: 341 kB / 493.3 MB, free: 23.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2478, allocations: 4 kB / 493.3 MB, free: 23.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2478, allocations: 0 / 493.3 MB, free: 23.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2478, allocations: 0 / 493.3 MB, free: 23.81 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001945/0.2498, allocations: 0.729 MB / 494.1 MB, free: 23.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2498, allocations: 13.48 kB / 494.1 MB, free: 23.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.2499, allocations: 46.8 kB / 494.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.2499, allocations: 18.47 kB / 494.1 MB, free: 23.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2501, allocations: 228.3 kB / 494.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2501, allocations: 10.11 kB / 494.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.2502, allocations: 12.62 kB / 494.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2504, allocations: 198.7 kB / 494.6 MB, free: 22.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2504, allocations: 5.312 kB / 494.6 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2505, allocations: 9.375 kB / 494.6 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2505, allocations: 2.75 kB / 494.6 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.2507, allocations: 160.2 kB / 494.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.2516, allocations: 0.7314 MB / 495.5 MB, free: 22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.252, allocations: 181.1 kB / 495.7 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2521, allocations: 88.44 kB / 495.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.2521, allocations: 7.078 kB / 495.8 MB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2522, allocations: 33.09 kB / 495.8 MB, free: 21.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.2522, allocations: 3.938 kB / 495.8 MB, free: 21.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001794/0.254, allocations: 0.5798 MB / 496.4 MB, free: 21.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.254, allocations: 82.42 kB / 496.4 MB, free: 21.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2541, allocations: 178.8 kB / 496.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2541, allocations: 32.08 kB / 496.7 MB, free: 21.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.2542, allocations: 121.8 kB / 496.8 MB, free: 21.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.2542, allocations: 54.97 kB / 496.8 MB, free: 20.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2543, allocations: 50.22 kB / 496.9 MB, free: 20.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.2543, allocations: 326 kB / 497.2 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2545, allocations: 102.5 kB / 497.3 MB, free: 20.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2546, allocations: 135.4 kB / 497.4 MB, free: 20.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2549, allocations: 222.1 kB / 497.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2549, allocations: 0 / 497.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009525/0.2559, allocations: 423.3 kB / 498.1 MB, free: 20.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2559, allocations: 9.047 kB / 498.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2559, allocations: 0 / 498.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/0.2569, allocations: 200.1 kB / 498.3 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.2571, allocations: 36.97 kB / 498.3 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.2592, allocations: 1.991 MB / 0.4886 GB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2594, allocations: 19 kB / 0.4886 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2594, allocations: 13.23 kB / 0.4886 GB, free: 18.17 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.2595, allocations: 129.8 kB / 0.4887 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2595, allocations: 18.64 kB / 0.4887 GB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.2605, allocations: 374.3 kB / 0.4891 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2605, allocations: 2.5 kB / 0.4891 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2605, allocations: 3.938 kB / 0.4891 GB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2605, allocations: 9.141 kB / 0.4891 GB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2607, allocations: 304.8 kB / 0.4894 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2607, allocations: 1.188 kB / 0.4894 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2608, allocations: 27.92 kB / 0.4894 GB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008927/0.2617, allocations: 198.6 kB / 0.4896 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2617, allocations: 1.062 kB / 0.4896 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.2637, allocations: 1.962 MB / 0.4915 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2637, allocations: 0 / 0.4915 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.2646, allocations: 447.6 kB / 0.492 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.2646, allocations: 93.36 kB / 0.492 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2647, allocations: 6.188 kB / 0.4921 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2648, allocations: 15.92 kB / 0.4921 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.2649, allocations: 13.17 kB / 0.4921 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2649, allocations: 4.562 kB / 0.4921 GB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.265, allocations: 137.2 kB / 0.4922 GB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.265, allocations: 3.938 kB / 0.4922 GB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.2654, allocations: 70.61 kB / 0.4923 GB, free: 15.03 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.2665, allocations: 0.9862 MB / 0.4933 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.2674, allocations: 399.1 kB / 0.4936 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2674, allocations: 0 / 0.4936 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2679, allocations: 271.8 kB / 0.4939 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2682, allocations: 19.97 kB / 0.4939 GB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2716, allocations: 2.512 MB / 0.4964 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2717, allocations: 0.714 MB / 0.4971 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.617e-05/0.2718, allocations: 23.66 kB / 0.4971 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.2719, allocations: 44.45 kB / 0.4971 GB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2719, allocations: 1.188 kB / 0.4971 GB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.3028, allocations: 6.227 MB / 0.5032 GB, free: 7.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.5, allocations: 5.469 kB / 0.5032 GB, free: 7.875 MB / 366.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.90331261511892] Failed to read output from testmodel.py, exit status != 0: 11.593327407725155 11.604076485 11.353461834 Calling exit ...