Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001523/0.001523, allocations: 115.8 kB / 17.18 MB, free: 5.691 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.001661/0.001661, allocations: 197.2 kB / 20.12 MB, free: 2.777 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.404/1.404, 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.05378/0.05378, allocations: 8.221 MB / 311.6 MB, free: 2.098 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.91 kB / 434 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2581, allocations: 54.36 MB / 488.3 MB, free: 27.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003252/0.2613, allocations: 2.809 MB / 491.1 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2636, allocations: 1.755 MB / 492.9 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2637, allocations: 7.594 kB / 492.9 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.2642, allocations: 178 kB / 493.1 MB, free: 23.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.2647, allocations: 264.9 kB / 493.3 MB, free: 23.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.2663, allocations: 1.148 MB / 494.5 MB, free: 22.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.2669, allocations: 0.5067 MB / 495 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2671, allocations: 112.8 kB / 495.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.2673, allocations: 211.2 kB / 495.3 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.2676, allocations: 265.3 kB / 495.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.2676, allocations: 42.69 kB / 495.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.2681, allocations: 262.4 kB / 495.8 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.2682, allocations: 100 kB / 495.9 MB, free: 21.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.2684, allocations: 252.8 kB / 496.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007354/0.2691, allocations: 0.6733 MB / 496.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2691, allocations: 1.688 kB / 496.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2691, allocations: 0 / 496.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.2691, allocations: 0 / 496.9 MB, free: 21.09 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005809/0.2749, allocations: 1.663 MB / 498.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.275, allocations: 14.48 kB / 498.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.931e-05/0.2751, allocations: 78.34 kB / 498.6 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2752, allocations: 56.77 kB / 498.7 MB, free: 19.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.2756, allocations: 367.6 kB / 499 MB, free: 19.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.2756, allocations: 29.78 kB / 499.1 MB, free: 19.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.2757, allocations: 49.41 kB / 499.1 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.2765, allocations: 0.5997 MB / 499.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2765, allocations: 0 / 499.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.2766, allocations: 16.75 kB / 499.7 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2766, allocations: 8 kB / 499.7 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2773, allocations: 0.5486 MB / 0.4886 GB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.2798, allocations: 2.222 MB / 0.4907 GB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/0.2808, allocations: 0.8183 MB / 0.4915 GB, free: 16.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.2812, allocations: 351.1 kB / 0.4919 GB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.2826, allocations: 1.348 MB / 0.4932 GB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2826, allocations: 37.69 kB / 0.4932 GB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.2826, allocations: 1.375 kB / 0.4932 GB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.009152/0.2917, allocations: 2.633 MB / 0.4958 GB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2918, allocations: 112.7 kB / 0.4959 GB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.2921, allocations: 341.6 kB / 0.4962 GB, free: 12.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.2922, allocations: 36.98 kB / 0.4963 GB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.2923, allocations: 204.2 kB / 0.4965 GB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2924, allocations: 195.9 kB / 0.4966 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.2926, allocations: 144.2 kB / 0.4968 GB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.2927, allocations: 352.9 kB / 0.4971 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.2932, allocations: 401.9 kB / 0.4975 GB, free: 11.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.2938, allocations: 0.5094 MB / 0.498 GB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2949, allocations: 0.945 MB / 0.4989 GB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.2949, allocations: 1.438 kB / 0.4989 GB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004298/0.2992, allocations: 1.756 MB / 0.5006 GB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2992, allocations: 9.469 kB / 0.5006 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2992, allocations: 9.203 kB / 0.5007 GB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/0.3036, allocations: 1.097 MB / 0.5017 GB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.3041, allocations: 119 kB / 0.5018 GB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.3115, allocations: 5.225 MB / 0.5069 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.312, allocations: 87.39 kB / 0.507 GB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.3121, allocations: 24 kB / 0.507 GB, free: 4.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.3123, allocations: 178.7 kB / 0.5072 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3124, allocations: 47.72 kB / 0.5073 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.3161, allocations: 1.597 MB / 0.5088 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3161, allocations: 4 kB / 0.5088 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3161, allocations: 8 kB / 0.5088 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3161, allocations: 3.984 kB / 0.5088 GB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.3166, allocations: 0.6698 MB / 0.5095 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3166, allocations: 0 / 0.5095 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3168, allocations: 67.91 kB / 0.5096 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003854/0.3207, allocations: 1.026 MB / 0.5106 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.3207, allocations: 16 kB / 0.5106 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008607/0.3293, allocations: 5.205 MB / 0.5157 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3293, allocations: 0 / 0.5157 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.3337, allocations: 1.593 MB / 0.5172 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.3338, allocations: 128.7 kB / 0.5173 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.3339, allocations: 8 kB / 0.5173 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.3343, allocations: 31.98 kB / 0.5174 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3344, allocations: 48.42 kB / 0.5174 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.3344, allocations: 16.38 kB / 0.5174 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3347, allocations: 223.2 kB / 0.5176 GB, free: 9.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3347, allocations: 0 / 0.5176 GB, free: 9.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007997/0.3355, allocations: 239.9 kB / 0.5179 GB, free: 9.492 MB / 382.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004715/0.3402, allocations: 2.172 MB / 0.52 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.3433, allocations: 1.243 MB / 0.5212 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3433, allocations: 0 / 0.5212 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.3453, allocations: 0.78 MB / 0.522 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3457, allocations: 33.44 kB / 0.522 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.3591, allocations: 6.632 MB / 0.5285 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.3596, allocations: 0.8371 MB / 0.5293 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.3598, allocations: 59.25 kB / 0.5294 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.36, allocations: 151.4 kB / 0.5295 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.36, allocations: 0 / 0.5295 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.408, allocations: 17.69 MB / 0.5468 GB, free: 11.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.54, allocations: 11.97 kB / 0.5468 GB, free: 11.84 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.000267849769443] Failed to read output from testmodel.py, exit status != 0: 10.625497135799378 10.639758563 10.36782085 Calling exit ...