Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.0008072/0.0008072, 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.001048/0.001048, 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.8997/0.8997, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.03105/0.03105, allocations: 4.477 MB / 264.5 MB, free: 8.773 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.321e-05, allocations: 2.281 kB / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002311/0.002334, allocations: 1.445 MB / 391 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.004146, allocations: 1.555 MB / 392.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00425, allocations: 4 kB / 392.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.004621, allocations: 123.2 kB / 392.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.005013, allocations: 150.9 kB / 392.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.006074, allocations: 0.937 MB / 393.8 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.00642, allocations: 258.6 kB / 394.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.006579, allocations: 52.41 kB / 394.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.006734, allocations: 143.7 kB / 394.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.006886, allocations: 91.7 kB / 394.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.006915, allocations: 23.98 kB / 394.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.007355, allocations: 231.5 kB / 394.6 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.007392, allocations: 51.77 kB / 394.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.007462, allocations: 75.83 kB / 394.7 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.007983, allocations: 450.6 kB / 395.2 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.007987, allocations: 4 kB / 395.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007989, allocations: 0 / 395.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.007998, allocations: 0 / 395.2 MB, free: 1.848 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.002178/0.01018, allocations: 0.9263 MB / 396.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.01025, allocations: 16.02 kB / 396.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.01031, allocations: 50.73 kB / 396.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.01038, allocations: 28.8 kB / 396.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.01071, allocations: 201.5 kB / 396.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.01073, allocations: 16.7 kB / 396.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.01075, allocations: 16.38 kB / 396.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01117, allocations: 465.7 kB / 396.9 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01118, allocations: 8.125 kB / 396.9 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.01121, allocations: 4.375 kB / 396.9 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01121, allocations: 8.125 kB / 396.9 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.01149, allocations: 260.5 kB / 397.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01255, allocations: 0.7491 MB / 397.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.01299, allocations: 282.5 kB / 398.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01314, allocations: 148.8 kB / 398.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.01319, allocations: 4 kB / 398.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.01322, allocations: 42.56 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.01322, allocations: 0 / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.002048/0.01527, allocations: 0.9835 MB / 399.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.01533, allocations: 102.8 kB / 399.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01556, allocations: 218.8 kB / 399.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.0156, allocations: 41.69 kB / 399.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.0157, allocations: 128.9 kB / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.01575, allocations: 87.22 kB / 399.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01585, allocations: 73.64 kB / 400 MB, free: 12.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01596, allocations: 334.8 kB / 400.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.01615, allocations: 175.9 kB / 400.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.01639, allocations: 266.2 kB / 400.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.01681, allocations: 386.7 kB / 401.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01681, allocations: 0 / 401.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001134/0.01795, allocations: 0.7359 MB / 401.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01796, allocations: 8 kB / 401.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01797, allocations: 0 / 401.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.01906, allocations: 424.4 kB / 402.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01923, allocations: 55.89 kB / 402.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.02217, allocations: 2.575 MB / 404.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.02237, allocations: 43.72 kB / 404.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0224, allocations: 11.98 kB / 405 MB, free: 7.645 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.02253, allocations: 145.9 kB / 405.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.02258, allocations: 23.86 kB / 405.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.0237, allocations: 0.6872 MB / 405.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.0237, allocations: 4 kB / 405.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02371, allocations: 3.984 kB / 405.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02371, allocations: 0 / 405.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.02398, allocations: 304.5 kB / 406.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.02398, allocations: 3.984 kB / 406.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.02407, allocations: 35.92 kB / 406.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/0.02502, allocations: 412.4 kB / 406.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.02504, allocations: 4 kB / 406.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.02767, allocations: 2.553 MB / 409.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02767, allocations: 4 kB / 409.1 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.02878, allocations: 0.734 MB / 409.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.02883, allocations: 27.78 kB / 409.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.02886, allocations: 8 kB / 409.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.029, allocations: 18.86 kB / 409.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.02907, allocations: 23.95 kB / 409.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.02909, allocations: 11.94 kB / 409.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.0292, allocations: 162.5 kB / 410.1 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0292, allocations: 0 / 410.1 MB, free: 2.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.02957, allocations: 100 kB / 410.2 MB, free: 2.207 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001509/0.03108, allocations: 1.29 MB / 411.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.03205, allocations: 0.592 MB / 412.1 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.03205, allocations: 4 kB / 412.1 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1372/0.1693, allocations: 387.5 kB / 412.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1696, allocations: 24.31 kB / 412.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.1739, allocations: 3.482 MB / 416 MB, free: 32.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.1741, allocations: 139.2 kB / 416.1 MB, free: 31.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1742, allocations: 29.36 kB / 416.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.1743, allocations: 73.97 kB / 416.2 MB, free: 31.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.1743, allocations: 3.719 kB / 416.2 MB, free: 31.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.2014, allocations: 10.2 MB / 426.4 MB, free: 28.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.218, allocations: 6.656 kB / 426.4 MB, free: 28.83 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_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_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.048997077159584] Failed to read output from testmodel.py, exit status != 0: 8.31063459161669 8.318044148 8.308314818 Calling exit ...