Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001257/0.001257, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001414/0.001414, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.1847/0.1847, allocations: 38.56 MB / 353.3 MB, free: 12.29 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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.0021/0.0021, allocations: 71.83 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 62.45 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007631/0.3658, allocations: 4.467 MB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.3689, allocations: 1.262 MB / 0.5483 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.3692, allocations: 17.41 kB / 0.5483 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.3705, allocations: 398.2 kB / 0.5487 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.3714, allocations: 258 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.3721, allocations: 164.6 kB / 0.5491 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009268/0.373, allocations: 0.5666 MB / 0.5497 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.3734, allocations: 226 kB / 0.5499 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.374, allocations: 276.7 kB / 0.5501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.3746, allocations: 295.8 kB / 0.5504 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.3747, allocations: 34.44 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.375, allocations: 131.1 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.3752, allocations: 192.2 kB / 0.5508 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3755, allocations: 183.3 kB / 0.5509 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.3762, allocations: 0.5229 MB / 0.5514 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3762, allocations: 0 / 0.5514 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3762, allocations: 0 / 0.5514 GB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3762, allocations: 4 kB / 0.5514 GB, free: 9.789 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001261/0.3775, allocations: 0.6345 MB / 0.5521 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3775, allocations: 13.27 kB / 0.5521 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.595e-05/0.3775, allocations: 10.28 kB / 0.5521 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.3776, allocations: 76.59 kB / 0.5522 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.3783, allocations: 87.8 kB / 0.5522 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.379, allocations: 348.7 kB / 0.5526 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.3791, allocations: 27.38 kB / 0.5526 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3792, allocations: 51.91 kB / 0.5527 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.3801, allocations: 484.6 kB / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3801, allocations: 1.188 kB / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3801, allocations: 11.25 kB / 0.5531 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3802, allocations: 29.33 kB / 0.5532 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.3808, allocations: 349 kB / 0.5535 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3831, allocations: 1.49 MB / 0.5549 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.3835, allocations: 147.8 kB / 0.5551 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3836, allocations: 101.8 kB / 0.5552 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3837, allocations: 2.25 kB / 0.5552 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3837, allocations: 32.88 kB / 0.5552 GB, free: 6.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.3837, allocations: 3.938 kB / 0.5552 GB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001535/0.3852, allocations: 0.7468 MB / 0.5559 GB, free: 6.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3853, allocations: 84.66 kB / 0.556 GB, free: 6.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.3857, allocations: 314 kB / 0.5563 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3857, allocations: 29.64 kB / 0.5564 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.3859, allocations: 252.1 kB / 0.5566 GB, free: 5.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.386, allocations: 71.42 kB / 0.5567 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3861, allocations: 53.98 kB / 0.5567 GB, free: 5.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3862, allocations: 354.9 kB / 0.5571 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3864, allocations: 104.2 kB / 0.5572 GB, free: 5.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3867, allocations: 197.3 kB / 0.5573 GB, free: 4.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.3871, allocations: 330.8 kB / 0.5577 GB, free: 4.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3871, allocations: 0 / 0.5577 GB, free: 4.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001006/0.3881, allocations: 465.8 kB / 0.5581 GB, free: 4.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3882, allocations: 8 kB / 0.5581 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006596/0.3888, allocations: 308.7 kB / 0.5584 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.3893, allocations: 137 kB / 0.5585 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3896, allocations: 55.91 kB / 0.5586 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.3927, allocations: 2.32 MB / 0.5609 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.393, allocations: 12 kB / 0.5609 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.393, allocations: 12 kB / 0.5609 GB, free: 1.105 MB / 398.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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.3933, allocations: 196.5 kB / 0.5611 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.3934, allocations: 27.81 kB / 0.5611 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.3939, allocations: 276.1 kB / 0.5614 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3939, allocations: 0 / 0.5614 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3939, allocations: 0 / 0.5614 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3939, allocations: 4 kB / 0.5614 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3953, allocations: 0.6834 MB / 0.562 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3953, allocations: 4 kB / 0.562 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3955, allocations: 31.98 kB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.3957, allocations: 44.88 kB / 0.5621 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3957, allocations: 4 kB / 0.5621 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3957, allocations: 4 kB / 0.5621 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3957, allocations: 0 / 0.5621 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.3963, allocations: 449.3 kB / 0.5625 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.3964, allocations: 27.81 kB / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.3964, allocations: 8 kB / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3966, allocations: 7.984 kB / 0.5626 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3966, allocations: 19.86 kB / 0.5626 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3966, allocations: 7.984 kB / 0.5626 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002528/0.3969, allocations: 223.1 kB / 0.5628 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3969, allocations: 0 / 0.5628 GB, free: 15.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.3974, allocations: 84 kB / 0.5629 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.3984, allocations: 0.9731 MB / 0.5638 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007983/0.3992, allocations: 406.2 kB / 0.5642 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3992, allocations: 0 / 0.5642 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3994, allocations: 100.7 kB / 0.5643 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3999, allocations: 68.98 kB / 0.5644 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.4053, allocations: 3.575 MB / 0.5679 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4055, allocations: 233.1 kB / 0.5681 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.4057, allocations: 70.91 kB / 0.5682 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4059, allocations: 123.4 kB / 0.5683 GB, free: 9.133 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4059, allocations: 0 / 0.5683 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.4403, allocations: 7.65 MB / 0.5758 GB, free: 1.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.3, allocations: 7.422 kB / 0.5758 GB, free: 1.668 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.14974908903241] Failed to read output from testmodel.py, exit status != 0: 14.48190264601726 14.512040866 14.129999235 Calling exit ...