Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.001096/0.001096, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001257/0.001257, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.8571/0.8571, allocations: 177.1 MB / 203.5 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.02534/0.02534, allocations: 4.472 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.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.23e-05, allocations: 4.953 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001905/0.001928, allocations: 1.446 MB / 391 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.00356, allocations: 1.54 MB / 392.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.003672, allocations: 4 kB / 392.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.004067, allocations: 131.2 kB / 392.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.00457, allocations: 135 kB / 392.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.00583, allocations: 1.073 MB / 393.9 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.006185, allocations: 246.7 kB / 394.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006335, allocations: 48.42 kB / 394.2 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.006469, allocations: 147.6 kB / 394.4 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.006619, allocations: 99.7 kB / 394.5 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.006646, allocations: 16 kB / 394.5 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.007175, allocations: 243.7 kB / 394.7 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.007213, allocations: 51.77 kB / 394.8 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.007273, allocations: 83.69 kB / 394.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.007692, allocations: 454.7 kB / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.007694, allocations: 8 kB / 395.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007696, allocations: 0 / 395.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.007702, allocations: 0 / 395.3 MB, free: 1.703 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001652/0.009354, allocations: 0.852 MB / 396.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.009397, allocations: 8.031 kB / 396.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.009443, allocations: 50.73 kB / 396.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.009492, allocations: 24.8 kB / 396.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.009713, allocations: 199.1 kB / 396.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.009726, allocations: 16.7 kB / 396.4 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.00975, allocations: 20.38 kB / 396.5 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.01009, allocations: 423.2 kB / 396.9 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.0101, allocations: 4.125 kB / 396.9 MB, free: 8 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01013, allocations: 12.42 kB / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.01014, allocations: 16.06 kB / 396.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.01041, allocations: 252.1 kB / 397.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.01131, allocations: 0.7179 MB / 397.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.01169, allocations: 286.5 kB / 398.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.01207, allocations: 132.8 kB / 398.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.01212, allocations: 11.98 kB / 398.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.01214, allocations: 34.56 kB / 398.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.01214, allocations: 0 / 398.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001873/0.01401, allocations: 0.8813 MB / 399.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01405, allocations: 77.11 kB / 399.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.0142, allocations: 214.8 kB / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.01422, allocations: 33.7 kB / 399.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.01428, allocations: 136.9 kB / 399.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.01433, allocations: 83.23 kB / 399.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.01441, allocations: 69.64 kB / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.01448, allocations: 338.8 kB / 400.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01465, allocations: 164 kB / 400.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.01483, allocations: 220.6 kB / 400.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.01519, allocations: 372.9 kB / 400.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01519, allocations: 0 / 400.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000951/0.01614, allocations: 0.6851 MB / 401.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01616, allocations: 4 kB / 401.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.01616, allocations: 4 kB / 401.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008884/0.01705, allocations: 376.4 kB / 401.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01718, allocations: 59.91 kB / 402 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.0198, allocations: 2.582 MB / 404.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.01993, allocations: 39.83 kB / 404.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.01995, allocations: 8 kB / 404.6 MB, free: 7.988 MB / 330.7 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.02005, allocations: 137.8 kB / 404.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.02009, allocations: 27.83 kB / 404.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.02108, allocations: 0.656 MB / 405.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02108, allocations: 4 kB / 405.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02108, allocations: 0 / 405.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02109, allocations: 3.938 kB / 405.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.02133, allocations: 292.6 kB / 405.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02133, allocations: 3.984 kB / 405.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.02141, allocations: 35.98 kB / 405.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.02223, allocations: 368.5 kB / 406.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.02225, allocations: 8 kB / 406.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.02459, allocations: 2.577 MB / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02459, allocations: 0 / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.0255, allocations: 0.691 MB / 409.4 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.02552, allocations: 23.8 kB / 409.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.02555, allocations: 11.94 kB / 409.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.02566, allocations: 15.98 kB / 409.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.02571, allocations: 23.95 kB / 409.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.02573, allocations: 12 kB / 409.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.02582, allocations: 147.3 kB / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02582, allocations: 0 / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000296/0.02611, allocations: 103.9 kB / 409.7 MB, free: 2.668 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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.02727, allocations: 1.24 MB / 411 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.0282, allocations: 0.6348 MB / 411.6 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.0282, allocations: 0 / 411.6 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.02876, allocations: 426.3 kB / 412 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.029, allocations: 37.84 kB / 412.1 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/0.1541, allocations: 3.345 MB / 415.4 MB, free: 32.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.1542, allocations: 142 kB / 415.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.1543, allocations: 30.83 kB / 415.6 MB, free: 32.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.1543, allocations: 70.7 kB / 415.6 MB, free: 32.13 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1543, allocations: 2.094 kB / 415.7 MB, free: 32.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1753, allocations: 9.677 MB / 425.3 MB, free: 29.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.325, allocations: 8.516 kB / 425.3 MB, free: 29.42 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.075486300513148] Failed to read output from testmodel.py, exit status != 0: 8.4160476019606 8.423323711 8.413430431 Calling exit ...