Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001231/0.001231, allocations: 116.9 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.001202/0.001202, 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.364/1.364, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.05242/0.05242, allocations: 8.232 MB / 311.6 MB, free: 2.133 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 54.36 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003025/0.2698, allocations: 2.316 MB / 490.6 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2717, allocations: 1.677 MB / 492.3 MB, free: 24.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2718, allocations: 6.375 kB / 492.3 MB, free: 24.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.2722, allocations: 157.4 kB / 492.5 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.2726, allocations: 219 kB / 492.7 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2744, allocations: 1.222 MB / 493.9 MB, free: 23.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.2748, allocations: 415 kB / 494.3 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.275, allocations: 87.98 kB / 494.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2751, allocations: 167.2 kB / 494.6 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.2753, allocations: 212.4 kB / 494.8 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.2754, allocations: 34.22 kB / 494.8 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.2758, allocations: 272.4 kB / 495.1 MB, free: 22.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.2759, allocations: 84.92 kB / 495.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.276, allocations: 192.1 kB / 495.3 MB, free: 22.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2766, allocations: 0.5802 MB / 495.9 MB, free: 21.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2766, allocations: 3.938 kB / 495.9 MB, free: 21.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2766, allocations: 0 / 495.9 MB, free: 21.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2766, allocations: 1.375 kB / 495.9 MB, free: 21.83 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.004559/0.2811, allocations: 1.375 MB / 497.3 MB, free: 20.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2812, allocations: 12.7 kB / 497.3 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.2812, allocations: 64.94 kB / 497.4 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.2813, allocations: 42.8 kB / 497.4 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2817, allocations: 325.7 kB / 497.7 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2817, allocations: 25.88 kB / 497.8 MB, free: 20.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.2818, allocations: 30.56 kB / 497.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.2824, allocations: 484.1 kB / 498.3 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2824, allocations: 5.344 kB / 498.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2824, allocations: 10.41 kB / 498.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2824, allocations: 7 kB / 498.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.283, allocations: 420.2 kB / 498.7 MB, free: 19.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.285, allocations: 2.019 MB / 0.489 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.2858, allocations: 475.1 kB / 0.4894 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.2861, allocations: 246.3 kB / 0.4897 GB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.2862, allocations: 14.52 kB / 0.4897 GB, free: 17.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2862, allocations: 37.06 kB / 0.4897 GB, free: 17.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.2862, allocations: 1.438 kB / 0.4897 GB, free: 17.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006375/0.2926, allocations: 1.9 MB / 0.4916 GB, free: 16.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2926, allocations: 111.2 kB / 0.4917 GB, free: 16.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2929, allocations: 272.7 kB / 0.4919 GB, free: 16.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.2929, allocations: 37.8 kB / 0.492 GB, free: 16.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.293, allocations: 158 kB / 0.4921 GB, free: 16.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.2931, allocations: 164.2 kB / 0.4923 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2932, allocations: 112.3 kB / 0.4924 GB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2933, allocations: 339.4 kB / 0.4927 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.2937, allocations: 300.9 kB / 0.493 GB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.2941, allocations: 346.2 kB / 0.4933 GB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.2949, allocations: 0.6484 MB / 0.494 GB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2949, allocations: 0 / 0.494 GB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003083/0.298, allocations: 1.238 MB / 0.4952 GB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.298, allocations: 8.781 kB / 0.4952 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.298, allocations: 0 / 0.4952 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/0.3013, allocations: 0.7708 MB / 0.4959 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3016, allocations: 90.3 kB / 0.496 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.3079, allocations: 4.193 MB / 0.5001 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3083, allocations: 54.34 kB / 0.5002 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3083, allocations: 19.92 kB / 0.5002 GB, free: 10.48 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.000178/0.3085, allocations: 164.2 kB / 0.5003 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.3086, allocations: 30.81 kB / 0.5004 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.3117, allocations: 1.191 MB / 0.5015 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3117, allocations: 5.312 kB / 0.5015 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.3117, allocations: 5.062 kB / 0.5015 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3117, allocations: 3.984 kB / 0.5015 GB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.3122, allocations: 0.5594 MB / 0.5021 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3122, allocations: 1.531 kB / 0.5021 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.3124, allocations: 57.91 kB / 0.5022 GB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.3157, allocations: 0.7533 MB / 0.5029 GB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.3158, allocations: 14.3 kB / 0.5029 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/0.3216, allocations: 4.132 MB / 0.5069 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3216, allocations: 0 / 0.5069 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.3244, allocations: 1.199 MB / 0.5081 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.3245, allocations: 120.8 kB / 0.5082 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3246, allocations: 4 kB / 0.5082 GB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3249, allocations: 35.97 kB / 0.5083 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.325, allocations: 40.33 kB / 0.5083 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.325, allocations: 20 kB / 0.5083 GB, free: 3.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3252, allocations: 186 kB / 0.5085 GB, free: 3.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3252, allocations: 0 / 0.5085 GB, free: 3.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.3257, allocations: 183.9 kB / 0.5087 GB, free: 3.094 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.002983/0.3287, allocations: 1.775 MB / 0.5104 GB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.3308, allocations: 0.9842 MB / 0.5114 GB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3308, allocations: 4 kB / 0.5114 GB, free: 296 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.3323, allocations: 0.6414 MB / 0.512 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3327, allocations: 32.89 kB / 0.512 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.3431, allocations: 5.171 MB / 0.5171 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3436, allocations: 0.7974 MB / 0.5179 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.3438, allocations: 54.92 kB / 0.5179 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.344, allocations: 127.4 kB / 0.518 GB, free: 9.344 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.344, allocations: 0 / 0.518 GB, free: 9.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.3892, allocations: 15.32 MB / 0.533 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 3.938 kB / 0.533 GB, free: 10.2 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.31991147203371] Failed to read output from testmodel.py, exit status != 0: 12.059623452834785 12.073360741 11.794015939 Calling exit ...