Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 80.44 kB / 19.97 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 177.9 kB / 23.25 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8947/0.8947, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02252/0.02252, allocations: 4.469 MB / 264.5 MB, free: 8.77 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.169e-05, allocations: 6.281 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.001979/0.002001, allocations: 1.241 MB / 390.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003443, allocations: 1.392 MB / 392.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.003511, allocations: 4 kB / 392.2 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.003802, allocations: 107.3 kB / 392.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.00407, allocations: 83.41 kB / 392.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009309/0.005001, allocations: 0.8011 MB / 393.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.005192, allocations: 143.3 kB / 393.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.005312, allocations: 42.14 kB / 393.4 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.005381, allocations: 83.8 kB / 393.5 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.005447, allocations: 47.88 kB / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005465, allocations: 12 kB / 393.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.005713, allocations: 211.6 kB / 393.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.005736, allocations: 31.84 kB / 393.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.005775, allocations: 43.91 kB / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.006163, allocations: 347 kB / 394.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.006166, allocations: 0 / 394.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006167, allocations: 0 / 394.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.006171, allocations: 0 / 394.1 MB, free: 2.832 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001041/0.007212, allocations: 0.587 MB / 394.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.007251, allocations: 12.03 kB / 394.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.007287, allocations: 46.73 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.007323, allocations: 20.84 kB / 394.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.007473, allocations: 157.5 kB / 395 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.007483, allocations: 8.375 kB / 395 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.0075, allocations: 16.36 kB / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.007729, allocations: 231.3 kB / 395.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.007736, allocations: 8.062 kB / 395.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.007756, allocations: 4.375 kB / 395.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007763, allocations: 8.125 kB / 395.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.007892, allocations: 120 kB / 395.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.008572, allocations: 471.4 kB / 395.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.009035, allocations: 154.5 kB / 396 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.009092, allocations: 44.84 kB / 396 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.009164, allocations: 7.938 kB / 396 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.009182, allocations: 30.56 kB / 396 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.009184, allocations: 4 kB / 396.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006614/0.009845, allocations: 274.4 kB / 396.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.00988, allocations: 77.11 kB / 396.4 MB, free: 412 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.009961, allocations: 148.3 kB / 396.5 MB, free: 256 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.009976, allocations: 25.7 kB / 396.6 MB, free: 224 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.01003, allocations: 132.2 kB / 396.7 MB, free: 88 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.01004, allocations: 35.69 kB / 396.7 MB, free: 52 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.01009, allocations: 37.7 kB / 396.8 MB, free: 8 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.01017, allocations: 318.8 kB / 397.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.01024, allocations: 47.98 kB / 397.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.01032, allocations: 108.2 kB / 397.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01046, allocations: 121.7 kB / 397.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01046, allocations: 0 / 397.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003267/0.01078, allocations: 225.9 kB / 397.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.0108, allocations: 7.984 kB / 397.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0108, allocations: 0 / 397.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.01108, allocations: 84.84 kB / 397.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.01115, allocations: 31.92 kB / 397.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009805/0.01213, allocations: 1.443 MB / 399.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.0122, allocations: 19.91 kB / 399.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01221, allocations: 8 kB / 399.2 MB, free: 13.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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 7.775e-05/0.01229, allocations: 122 kB / 399.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.01255, allocations: 15.94 kB / 399.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.01288, allocations: 207 kB / 399.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01288, allocations: 0 / 399.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01288, allocations: 4 kB / 399.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01288, allocations: 0 / 399.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01302, allocations: 192.6 kB / 399.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01303, allocations: 0 / 399.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.01307, allocations: 23.92 kB / 399.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.01328, allocations: 85.14 kB / 399.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01329, allocations: 4 kB / 399.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008465/0.01413, allocations: 1.424 MB / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01413, allocations: 0 / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.01443, allocations: 288.2 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.01444, allocations: 15.95 kB / 401.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.01445, allocations: 0 / 401.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.01451, allocations: 7.938 kB / 401.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.01454, allocations: 11.98 kB / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01454, allocations: 4 kB / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.01459, allocations: 105.9 kB / 401.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01459, allocations: 4 kB / 401.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.0148, allocations: 47.89 kB / 401.7 MB, free: 10.72 MB / 330.7 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.0005242/0.01532, allocations: 0.8226 MB / 402.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.01578, allocations: 262.5 kB / 402.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01579, allocations: 0 / 402.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.01603, allocations: 190.7 kB / 403 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.01619, allocations: 4 kB / 403 MB, free: 9.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.01781, allocations: 1.85 MB / 404.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.01787, allocations: 109.9 kB / 404.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.01791, allocations: 8.672 kB / 404.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.01796, allocations: 44.48 kB / 405 MB, free: 7.273 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01796, allocations: 0 / 405 MB, free: 7.273 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.0361, allocations: 4.399 MB / 409.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.11, allocations: 10.75 kB / 409.4 MB, free: 2.988 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.950590841472149] Failed to read output from testmodel.py, exit status != 0: 7.192874768748879 7.387543854 7.378491766 Calling exit ...