Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001229/0.001229, allocations: 80.53 kB / 19.96 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.0013/0.0013, allocations: 173.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.8849/0.8849, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.02523/0.02523, allocations: 4.462 MB / 264.4 MB, free: 8.777 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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.609e-05, allocations: 10.22 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002973/0.003, allocations: 1.504 MB / 391.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.005107, allocations: 1.547 MB / 392.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.005224, allocations: 4 kB / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.005569, allocations: 131.2 kB / 392.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.005857, allocations: 131.1 kB / 392.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.006902, allocations: 0.84 MB / 393.8 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.007254, allocations: 266.6 kB / 394 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.007403, allocations: 60.56 kB / 394.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.007538, allocations: 163.5 kB / 394.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.007811, allocations: 103.7 kB / 394.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.007842, allocations: 24 kB / 394.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.008185, allocations: 199.7 kB / 394.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.008224, allocations: 55.77 kB / 394.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.008293, allocations: 91.75 kB / 394.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.008709, allocations: 442.6 kB / 395.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008712, allocations: 0 / 395.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.008714, allocations: 0 / 395.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.008719, allocations: 0 / 395.1 MB, free: 1.852 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00157/0.01029, allocations: 0.7859 MB / 395.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01033, allocations: 8.031 kB / 395.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.01038, allocations: 54.73 kB / 396 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.01044, allocations: 24.8 kB / 396 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.01069, allocations: 207 kB / 396.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.01071, allocations: 16.88 kB / 396.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.01074, allocations: 20.38 kB / 396.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.01112, allocations: 399.4 kB / 396.6 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.01112, allocations: 192 / 396.6 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.01114, allocations: 12.38 kB / 396.6 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01115, allocations: 12.06 kB / 396.7 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.01146, allocations: 301.8 kB / 396.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.01246, allocations: 0.7671 MB / 397.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/0.01328, allocations: 350.7 kB / 398.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.01345, allocations: 160.8 kB / 398.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.01349, allocations: 4 kB / 398.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.01351, allocations: 34.56 kB / 398.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.01352, allocations: 4 kB / 398.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001566/0.01508, allocations: 0.8808 MB / 399.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.01511, allocations: 55.41 kB / 399.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01527, allocations: 219.8 kB / 399.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.0153, allocations: 33.7 kB / 399.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.01536, allocations: 136.8 kB / 399.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.01542, allocations: 107.1 kB / 399.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.0155, allocations: 77.59 kB / 399.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.01558, allocations: 330.8 kB / 400.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.01576, allocations: 179.9 kB / 400.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.01594, allocations: 179.9 kB / 400.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.01633, allocations: 405.2 kB / 400.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01633, allocations: 0 / 400.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008227/0.01715, allocations: 0.6462 MB / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01717, allocations: 10.8 kB / 401.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01717, allocations: 4 kB / 401.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.01775, allocations: 248.5 kB / 401.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01787, allocations: 51.91 kB / 401.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.02026, allocations: 2.549 MB / 404.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.02038, allocations: 35.77 kB / 404.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.0204, allocations: 16 kB / 404.4 MB, free: 8.25 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.02051, allocations: 145.7 kB / 404.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.02054, allocations: 19.86 kB / 404.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.02196, allocations: 0.5907 MB / 405.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.02197, allocations: 4 kB / 405.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02197, allocations: 0 / 405.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02197, allocations: 3.938 kB / 405.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.02341, allocations: 0.9676 MB / 406.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.02342, allocations: 11.98 kB / 406.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.02351, allocations: 31.98 kB / 406.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005714/0.02408, allocations: 240.5 kB / 406.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.0241, allocations: 8 kB / 406.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.02631, allocations: 2.515 MB / 408.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02631, allocations: 0 / 408.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.02708, allocations: 0.6413 MB / 409.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.02711, allocations: 27.78 kB / 409.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.02713, allocations: 8 kB / 409.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.02724, allocations: 12.33 kB / 409.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.02729, allocations: 23.94 kB / 409.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.02731, allocations: 12 kB / 409.6 MB, free: 2.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.02742, allocations: 167 kB / 409.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02742, allocations: 0 / 409.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.02775, allocations: 119.8 kB / 409.9 MB, free: 2.504 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.02884, allocations: 1.19 MB / 411.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.0296, allocations: 0.5923 MB / 411.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0296, allocations: 0 / 411.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.03003, allocations: 378.4 kB / 412.1 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.03027, allocations: 27.92 kB / 412.1 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/0.1567, allocations: 3.37 MB / 415.5 MB, free: 32.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1568, allocations: 145.5 kB / 415.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.31e-05/0.1569, allocations: 35.42 kB / 415.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.1569, allocations: 68.23 kB / 415.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1569, allocations: 0 / 415.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1836, allocations: 9.124 MB / 424.8 MB, free: 29.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.839, allocations: 8.125 kB / 424.8 MB, free: 29.86 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad_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_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.667191745713353] Failed to read output from testmodel.py, exit status != 0: 7.93095588311553 7.938918373 7.928660498 Calling exit ...