Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001303/0.001303, 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.00155/0.00155, allocations: 212.4 kB / 24.52 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.1869/0.1869, allocations: 38.56 MB / 353.3 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.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.00231/0.00231, allocations: 59.91 kB / 493.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3354, allocations: 62.48 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006514/0.3419, allocations: 4.309 MB / 0.5469 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.3451, allocations: 1.462 MB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.3454, allocations: 20.28 kB / 0.5484 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3464, allocations: 287.3 kB / 0.5486 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008812/0.3473, allocations: 287.2 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.3482, allocations: 254.8 kB / 0.5492 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.3492, allocations: 0.6116 MB / 0.5498 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.3496, allocations: 193 kB / 0.5499 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.3501, allocations: 285.6 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.3507, allocations: 399.8 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.3508, allocations: 38.59 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.3513, allocations: 237.4 kB / 0.5509 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.3515, allocations: 231.6 kB / 0.5511 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.3518, allocations: 212.1 kB / 0.5513 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.3527, allocations: 0.6836 MB / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3528, allocations: 3.938 kB / 0.5519 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3528, allocations: 0 / 0.5519 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3528, allocations: 1.125 kB / 0.5519 GB, free: 9.496 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001663/0.3544, allocations: 0.7131 MB / 0.5526 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3545, allocations: 14.55 kB / 0.5527 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.929e-05/0.3545, allocations: 10.38 kB / 0.5527 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3546, allocations: 80.38 kB / 0.5527 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/0.3555, allocations: 136.8 kB / 0.5529 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.3562, allocations: 353.2 kB / 0.5532 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.3562, allocations: 35.66 kB / 0.5532 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.3564, allocations: 49.58 kB / 0.5533 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3576, allocations: 0.6955 MB / 0.554 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.3576, allocations: 1.031 kB / 0.554 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.3576, allocations: 16.16 kB / 0.554 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/0.3579, allocations: 71.47 kB / 0.5541 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.359, allocations: 0.6627 MB / 0.5547 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.363, allocations: 2.476 MB / 0.5571 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.3636, allocations: 289.3 kB / 0.5574 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.3638, allocations: 197.7 kB / 0.5576 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3639, allocations: 4 kB / 0.5576 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.3639, allocations: 38.5 kB / 0.5576 GB, free: 4.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 5.751e-06/0.3639, allocations: 4 kB / 0.5576 GB, free: 4.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002148/0.3661, allocations: 1.233 MB / 0.5588 GB, free: 3.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.3662, allocations: 85.11 kB / 0.5589 GB, free: 3.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.3665, allocations: 288.5 kB / 0.5592 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3666, allocations: 29.7 kB / 0.5592 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3668, allocations: 268.2 kB / 0.5595 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3669, allocations: 142.8 kB / 0.5596 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.3671, allocations: 82.12 kB / 0.5597 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3672, allocations: 350.7 kB / 0.56 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3675, allocations: 197 kB / 0.5602 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.368, allocations: 332.8 kB / 0.5605 GB, free: 1.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.3687, allocations: 0.5429 MB / 0.5611 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3687, allocations: 4 kB / 0.5611 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001315/0.37, allocations: 0.6779 MB / 0.5617 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.37, allocations: 8 kB / 0.5617 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000916/0.371, allocations: 476.1 kB / 0.5622 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.3714, allocations: 125.6 kB / 0.5623 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.3718, allocations: 83.83 kB / 0.5624 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3749, allocations: 3.059 MB / 0.5654 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.3752, allocations: 23.92 kB / 0.5654 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.3752, allocations: 20 kB / 0.5654 GB, free: 12.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.3756, allocations: 205.7 kB / 0.5656 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3757, allocations: 35.77 kB / 0.5656 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/0.3765, allocations: 472.6 kB / 0.5661 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.3765, allocations: 16.05 kB / 0.5661 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3765, allocations: 7.938 kB / 0.5661 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3765, allocations: 0 / 0.5661 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.3782, allocations: 0.9521 MB / 0.567 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3782, allocations: 4 kB / 0.5671 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.3785, allocations: 71.83 kB / 0.5671 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3785, allocations: 4 kB / 0.5671 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3786, allocations: 11.98 kB / 0.5671 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3786, allocations: 0 / 0.5671 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3786, allocations: 8.062 kB / 0.5671 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3797, allocations: 0.7402 MB / 0.5679 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3799, allocations: 71.66 kB / 0.5679 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.38, allocations: 11.98 kB / 0.5679 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3802, allocations: 11.98 kB / 0.568 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.3802, allocations: 19.97 kB / 0.568 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3803, allocations: 8 kB / 0.568 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.3805, allocations: 207.1 kB / 0.5682 GB, free: 9.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3805, allocations: 0 / 0.5682 GB, free: 9.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007191/0.3813, allocations: 116 kB / 0.5683 GB, free: 9.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.383, allocations: 1.324 MB / 0.5696 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3842, allocations: 0.676 MB / 0.5702 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3842, allocations: 4.062 kB / 0.5702 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.3845, allocations: 203.8 kB / 0.5704 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.3851, allocations: 66.62 kB / 0.5705 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006439/0.3915, allocations: 4.403 MB / 0.5748 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3918, allocations: 278.2 kB / 0.5751 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.3922, allocations: 115.2 kB / 0.5752 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3924, allocations: 139.4 kB / 0.5753 GB, free: 1.719 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3924, allocations: 0 / 0.5753 GB, free: 1.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.4278, allocations: 8.714 MB / 0.5838 GB, free: 9.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.86, allocations: 13.12 kB / 0.5838 GB, free: 9.176 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.710706813959405] Failed to read output from testmodel.py, exit status != 0: 13.049873322015628 13.065910739 12.709844311 Calling exit ...