Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001229/0.001229, allocations: 116.7 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.001278/0.001278, 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.416/1.416, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.05789/0.05789, allocations: 8.228 MB / 311.6 MB, free: 2.145 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 71.89 kB / 434 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.266, allocations: 54.35 MB / 488.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002927/0.2689, allocations: 2.326 MB / 490.6 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2709, allocations: 1.672 MB / 492.3 MB, free: 24.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.271, allocations: 6.438 kB / 492.3 MB, free: 24.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.2714, allocations: 156.8 kB / 492.5 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.2718, allocations: 214.9 kB / 492.7 MB, free: 23.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.2736, allocations: 1.232 MB / 493.9 MB, free: 23.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.2741, allocations: 413.9 kB / 494.3 MB, free: 22.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.2743, allocations: 88.83 kB / 494.4 MB, free: 22.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2744, allocations: 170.2 kB / 494.6 MB, free: 22.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2747, allocations: 215.3 kB / 494.8 MB, free: 22.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2747, allocations: 35.22 kB / 494.8 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.2752, allocations: 268.2 kB / 495.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.2753, allocations: 80.06 kB / 495.2 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2754, allocations: 198.2 kB / 495.3 MB, free: 22.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.2761, allocations: 0.5795 MB / 495.9 MB, free: 21.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2761, allocations: 0 / 495.9 MB, free: 21.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2761, allocations: 3.938 kB / 495.9 MB, free: 21.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2761, allocations: 0 / 495.9 MB, free: 21.78 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004709/0.2808, allocations: 1.375 MB / 497.3 MB, free: 20.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2808, allocations: 14.05 kB / 497.3 MB, free: 20.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/0.2809, allocations: 63.47 kB / 497.4 MB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.281, allocations: 43.36 kB / 497.4 MB, free: 20.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.2814, allocations: 325.4 kB / 497.7 MB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2814, allocations: 22.69 kB / 497.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.2815, allocations: 33.88 kB / 497.8 MB, free: 20.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.2822, allocations: 481.2 kB / 498.3 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2822, allocations: 3.938 kB / 498.3 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.2822, allocations: 12.03 kB / 498.3 MB, free: 20.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2822, allocations: 6.5 kB / 498.3 MB, free: 20.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.2828, allocations: 419.9 kB / 498.7 MB, free: 19.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.285, allocations: 2.011 MB / 0.489 GB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.2859, allocations: 484.3 kB / 0.4894 GB, free: 17.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.2863, allocations: 242.1 kB / 0.4897 GB, free: 17.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.026e-05/0.2863, allocations: 13.34 kB / 0.4897 GB, free: 17.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2864, allocations: 37.66 kB / 0.4897 GB, free: 17.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.2864, allocations: 1.094 kB / 0.4897 GB, free: 17.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006505/0.2929, allocations: 1.853 MB / 0.4915 GB, free: 16.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2929, allocations: 107.2 kB / 0.4916 GB, free: 16.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.2932, allocations: 276.5 kB / 0.4919 GB, free: 16.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.2933, allocations: 38.02 kB / 0.4919 GB, free: 16.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.2934, allocations: 162 kB / 0.4921 GB, free: 16.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.2935, allocations: 160.1 kB / 0.4922 GB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.2937, allocations: 107.8 kB / 0.4923 GB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.2937, allocations: 341.8 kB / 0.4927 GB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.2942, allocations: 298.4 kB / 0.4929 GB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.2946, allocations: 349.8 kB / 0.4933 GB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.2955, allocations: 0.6482 MB / 0.4939 GB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2955, allocations: 0 / 0.4939 GB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003224/0.2987, allocations: 1.249 MB / 0.4951 GB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2987, allocations: 9.562 kB / 0.4951 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.2987, allocations: 0 / 0.4951 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/0.3022, allocations: 0.7784 MB / 0.4959 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.3026, allocations: 90.27 kB / 0.496 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/0.3091, allocations: 4.182 MB / 0.5001 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.3096, allocations: 54.84 kB / 0.5001 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.3097, allocations: 24.52 kB / 0.5001 GB, free: 10.46 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.3099, allocations: 163.8 kB / 0.5003 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.3099, allocations: 31.72 kB / 0.5003 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.3132, allocations: 1.201 MB / 0.5015 GB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3132, allocations: 13.53 kB / 0.5015 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3132, allocations: 0 / 0.5015 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3132, allocations: 3.984 kB / 0.5015 GB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.3137, allocations: 0.5591 MB / 0.5021 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3137, allocations: 1.25 kB / 0.5021 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.314, allocations: 59.25 kB / 0.5021 GB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.3172, allocations: 0.7566 MB / 0.5029 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3172, allocations: 14.64 kB / 0.5029 GB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.3233, allocations: 4.13 MB / 0.5069 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3233, allocations: 0 / 0.5069 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.3261, allocations: 1.215 MB / 0.5081 GB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.3262, allocations: 120.7 kB / 0.5082 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.3263, allocations: 8 kB / 0.5082 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3266, allocations: 34.17 kB / 0.5083 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.3267, allocations: 40.31 kB / 0.5083 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3267, allocations: 19.94 kB / 0.5083 GB, free: 3.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3269, allocations: 190 kB / 0.5085 GB, free: 3.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3269, allocations: 0 / 0.5085 GB, free: 3.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.3275, allocations: 179.9 kB / 0.5087 GB, free: 3.113 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003027/0.3305, allocations: 1.787 MB / 0.5104 GB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.3327, allocations: 0.9881 MB / 0.5114 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3327, allocations: 0 / 0.5114 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.3344, allocations: 0.6414 MB / 0.512 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3348, allocations: 36.89 kB / 0.512 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.3453, allocations: 5.149 MB / 0.5171 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3458, allocations: 0.7974 MB / 0.5178 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.346, allocations: 54.92 kB / 0.5179 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3461, allocations: 119.4 kB / 0.518 GB, free: 9.375 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3461, allocations: 0 / 0.518 GB, free: 9.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.3903, allocations: 15.34 MB / 0.533 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.98, allocations: 6.906 kB / 0.533 GB, free: 10.25 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.45391063997522] Failed to read output from testmodel.py, exit status != 0: 12.07282136566937 12.095755221 11.815567028 Calling exit ...