Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.001305/0.001305, allocations: 114.4 kB / 17.17 MB, free: 5.875 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.001381/0.001381, allocations: 196.5 kB / 20.13 MB, free: 2.934 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.392/1.392, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.05193/0.05193, allocations: 8.229 MB / 311.6 MB, free: 2.031 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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.89 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2594, allocations: 54.36 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002112/0.2615, allocations: 1.07 MB / 489.4 MB, free: 26.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2631, allocations: 1.471 MB / 490.9 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.2631, allocations: 3.094 kB / 490.9 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2634, allocations: 99.73 kB / 491 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.2636, allocations: 81.16 kB / 491 MB, free: 25.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2648, allocations: 0.8829 MB / 491.9 MB, free: 24.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.2649, allocations: 107.4 kB / 492 MB, free: 24.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2651, allocations: 26.06 kB / 492 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.2651, allocations: 43.98 kB / 492.1 MB, free: 24.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.2652, allocations: 60.44 kB / 492.2 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2652, allocations: 7.5 kB / 492.2 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2655, allocations: 209 kB / 492.4 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.2655, allocations: 23.77 kB / 492.4 MB, free: 24.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.2656, allocations: 48.58 kB / 492.4 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2659, allocations: 287 kB / 492.7 MB, free: 24.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.2659, allocations: 3.938 kB / 492.7 MB, free: 24.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2659, allocations: 1.531 kB / 492.7 MB, free: 24.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2659, allocations: 0 / 492.7 MB, free: 24.24 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001749/0.2677, allocations: 0.6473 MB / 493.4 MB, free: 23.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2677, allocations: 17.48 kB / 493.4 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.2677, allocations: 41.48 kB / 493.4 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2678, allocations: 11.77 kB / 493.4 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2679, allocations: 204.4 kB / 493.6 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2679, allocations: 9.875 kB / 493.6 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.268, allocations: 7.25 kB / 493.7 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2682, allocations: 159.2 kB / 493.8 MB, free: 23.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2682, allocations: 9.25 kB / 493.8 MB, free: 23.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2682, allocations: 4 kB / 493.8 MB, free: 23.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2682, allocations: 6.75 kB / 493.8 MB, free: 23.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.2684, allocations: 128.3 kB / 494 MB, free: 23.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.269, allocations: 492.2 kB / 494.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.2696, allocations: 170.6 kB / 494.6 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.2697, allocations: 46.72 kB / 494.6 MB, free: 22.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.2701, allocations: 454 kB / 495.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.2701, allocations: 35.88 kB / 495.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.2701, allocations: 3.938 kB / 495.1 MB, free: 22.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007106/0.2708, allocations: 294.2 kB / 495.4 MB, free: 21.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2708, allocations: 78.67 kB / 495.5 MB, free: 21.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2709, allocations: 164.7 kB / 495.7 MB, free: 21.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2709, allocations: 29.7 kB / 495.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.271, allocations: 114.4 kB / 495.8 MB, free: 21.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.271, allocations: 39.42 kB / 495.8 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.2711, allocations: 45.22 kB / 495.9 MB, free: 21.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.2711, allocations: 329.3 kB / 496.2 MB, free: 21.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.2712, allocations: 61.86 kB / 496.3 MB, free: 21.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2713, allocations: 108.7 kB / 496.4 MB, free: 21.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.2715, allocations: 178.4 kB / 496.5 MB, free: 20.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2715, allocations: 5.469 kB / 496.5 MB, free: 20.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004685/0.272, allocations: 261.8 kB / 496.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.272, allocations: 8.062 kB / 496.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.272, allocations: 1.094 kB / 496.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.2724, allocations: 70.08 kB / 496.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2725, allocations: 34.67 kB / 496.9 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2735, allocations: 1.482 MB / 498.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2737, allocations: 24.17 kB / 498.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2737, allocations: 6.188 kB / 498.4 MB, free: 19.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.2738, allocations: 128.3 kB / 498.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.2738, allocations: 17.38 kB / 498.6 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.2742, allocations: 187.7 kB / 498.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2742, allocations: 1.219 kB / 498.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2743, allocations: 0 / 498.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2743, allocations: 3.938 kB / 498.8 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2744, allocations: 232.4 kB / 499 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2744, allocations: 5.75 kB / 499 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.2745, allocations: 18.89 kB / 499 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.2748, allocations: 68.84 kB / 499.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2748, allocations: 0 / 499.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009009/0.2757, allocations: 1.469 MB / 0.4888 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2757, allocations: 8.094 kB / 0.4888 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2761, allocations: 270.2 kB / 0.4891 GB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.2761, allocations: 96.97 kB / 0.4892 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2762, allocations: 1.156 kB / 0.4892 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2763, allocations: 3.688 kB / 0.4892 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.2763, allocations: 16.14 kB / 0.4892 GB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2763, allocations: 2.844 kB / 0.4892 GB, free: 16.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.2764, allocations: 121.1 kB / 0.4893 GB, free: 16.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2764, allocations: 0 / 0.4893 GB, free: 16.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.2767, allocations: 43.66 kB / 0.4893 GB, free: 16.66 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 (10): * Single equations (assignments): 9 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006227/0.2773, allocations: 0.8148 MB / 0.4901 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.2779, allocations: 272.8 kB / 0.4904 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2779, allocations: 0 / 0.4904 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.2782, allocations: 173.1 kB / 0.4906 GB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2784, allocations: 7.938 kB / 0.4906 GB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.2803, allocations: 1.95 MB / 0.4925 GB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2805, allocations: 0.7025 MB / 0.4932 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.2805, allocations: 19.3 kB / 0.4932 GB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.2806, allocations: 34.08 kB / 0.4932 GB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2806, allocations: 0 / 0.4932 GB, free: 13.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3073, allocations: 3.584 MB / 0.4967 GB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.36/9.667, allocations: 11.47 kB / 0.4967 GB, free: 11.29 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.051622019149363] Failed to read output from testmodel.py, exit status != 0: 9.747939229942858 9.765109664 9.49604597 Calling exit ...