Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001424/0.001424, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001653/0.001653, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1844/0.1844, allocations: 38.56 MB / 353.2 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 62.25 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3447, allocations: 62.47 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006959/0.3517, allocations: 4.752 MB / 0.5474 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3542, allocations: 1.24 MB / 0.5486 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.3545, allocations: 20.94 kB / 0.5486 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.3549, allocations: 117.3 kB / 0.5487 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.3557, allocations: 327.5 kB / 0.549 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.3561, allocations: 162.7 kB / 0.5492 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000935/0.3571, allocations: 0.7074 MB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3573, allocations: 117.4 kB / 0.55 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.3579, allocations: 326.8 kB / 0.5503 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.3585, allocations: 470.5 kB / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/0.3586, allocations: 45.06 kB / 0.5508 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3587, allocations: 47.91 kB / 0.5508 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.359, allocations: 241.9 kB / 0.551 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.3593, allocations: 237.8 kB / 0.5513 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.36, allocations: 0.6151 MB / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.36, allocations: 0 / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.36, allocations: 1.656 kB / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.36, allocations: 0 / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002229/0.3622, allocations: 0.8905 MB / 0.5527 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3622, allocations: 13.52 kB / 0.5528 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.3623, allocations: 8.75 kB / 0.5528 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.882e-05/0.3624, allocations: 70.81 kB / 0.5528 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3625, allocations: 54.77 kB / 0.5529 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3637, allocations: 0.5553 MB / 0.5534 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3637, allocations: 22.44 kB / 0.5534 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3638, allocations: 39.31 kB / 0.5535 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.3647, allocations: 0.553 MB / 0.554 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3647, allocations: 1.188 kB / 0.554 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.3648, allocations: 23.38 kB / 0.554 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/0.3651, allocations: 82.56 kB / 0.5541 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.3657, allocations: 361.8 kB / 0.5545 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.3691, allocations: 1.933 MB / 0.5564 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009475/0.3701, allocations: 377.1 kB / 0.5567 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.3706, allocations: 281.6 kB / 0.557 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.3706, allocations: 4 kB / 0.557 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.3707, allocations: 38.55 kB / 0.557 GB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/0.3707, allocations: 4 kB / 0.557 GB, free: 5.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004698/0.3754, allocations: 1.941 MB / 0.5589 GB, free: 3.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.3755, allocations: 85.11 kB / 0.559 GB, free: 3.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.376, allocations: 389.5 kB / 0.5594 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.376, allocations: 29.7 kB / 0.5594 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.3762, allocations: 252.7 kB / 0.5596 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3763, allocations: 142.8 kB / 0.5598 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3765, allocations: 98.14 kB / 0.5599 GB, free: 2.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3767, allocations: 362.7 kB / 0.5602 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.3771, allocations: 240.9 kB / 0.5605 GB, free: 1.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.3775, allocations: 358.1 kB / 0.5608 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.3784, allocations: 0.6157 MB / 0.5614 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3784, allocations: 4 kB / 0.5614 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001848/0.3803, allocations: 1.009 MB / 0.5624 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3803, allocations: 8 kB / 0.5624 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3803, allocations: 4 kB / 0.5624 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3814, allocations: 405.5 kB / 0.5628 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.3817, allocations: 83.84 kB / 0.5629 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.3881, allocations: 4.905 MB / 0.5677 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.3886, allocations: 43.94 kB / 0.5677 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3886, allocations: 20 kB / 0.5677 GB, free: 9.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.389, allocations: 199 kB / 0.5679 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/0.389, allocations: 47.78 kB / 0.568 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3906, allocations: 0.827 MB / 0.5688 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3906, allocations: 4 kB / 0.5688 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3906, allocations: 4 kB / 0.5688 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3906, allocations: 3.984 kB / 0.5688 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.3929, allocations: 1.347 MB / 0.5701 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3929, allocations: 4 kB / 0.5701 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3931, allocations: 39.86 kB / 0.5701 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3943, allocations: 449.3 kB / 0.5706 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.3944, allocations: 35.97 kB / 0.5706 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.4004, allocations: 6.281 MB / 0.5767 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4004, allocations: 0 / 0.5767 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.4023, allocations: 1.114 MB / 0.5778 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.4024, allocations: 35.72 kB / 0.5778 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.4025, allocations: 27.98 kB / 0.5779 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4028, allocations: 39.94 kB / 0.5779 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4029, allocations: 43.8 kB / 0.578 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.403, allocations: 16.08 kB / 0.578 GB, free: 14.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.4033, allocations: 271.1 kB / 0.5782 GB, free: 14.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4033, allocations: 0 / 0.5782 GB, free: 14.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007489/0.4041, allocations: 160 kB / 0.5784 GB, free: 14.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.00222/0.4063, allocations: 1.676 MB / 0.58 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.4081, allocations: 0.8723 MB / 0.5809 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4081, allocations: 0 / 0.5809 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.4096, allocations: 0.8488 MB / 0.5817 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.4104, allocations: 125.7 kB / 0.5818 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009507/0.4199, allocations: 6.269 MB / 0.5879 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4203, allocations: 278.3 kB / 0.5882 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.4205, allocations: 80.33 kB / 0.5883 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.4208, allocations: 159.3 kB / 0.5884 GB, free: 3.746 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4208, allocations: 0 / 0.5884 GB, free: 3.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.4827, allocations: 13.37 MB / 0.6015 GB, free: 6.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.95, allocations: 0 / 0.6015 GB, free: 6.613 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.043802543077618] Failed to read output from testmodel.py, exit status != 0: 13.129766395082697 13.156905598 12.792317762 Calling exit ...