Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001395/0.001395, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001543/0.001543, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1959/0.1959, allocations: 38.53 MB / 352.4 MB, free: 12.54 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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",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.003412/0.003412, allocations: 67.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3262, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006086/0.3322, allocations: 4.741 MB / 0.5466 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.335, allocations: 1.526 MB / 0.5481 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.3353, allocations: 24.19 kB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.3365, allocations: 397.8 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.3371, allocations: 231.2 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.3379, allocations: 263.5 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.3388, allocations: 0.5639 MB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.3392, allocations: 243.1 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.3398, allocations: 268.5 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.3404, allocations: 343.3 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.3405, allocations: 34.5 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.3409, allocations: 160 kB / 0.5505 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.3412, allocations: 233.4 kB / 0.5508 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.3415, allocations: 259.4 kB / 0.551 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009298/0.3425, allocations: 0.6001 MB / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3425, allocations: 0 / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3425, allocations: 0 / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.3425, allocations: 0 / 0.5516 GB, free: 9.23 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001696/0.3442, allocations: 0.7191 MB / 0.5523 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3442, allocations: 17.55 kB / 0.5523 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.3444, allocations: 84.48 kB / 0.5524 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.3452, allocations: 126.6 kB / 0.5525 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.346, allocations: 349.7 kB / 0.5529 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.346, allocations: 34.27 kB / 0.5529 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.3462, allocations: 60.09 kB / 0.5529 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3473, allocations: 0.6457 MB / 0.5536 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3473, allocations: 5.25 kB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.3473, allocations: 20.73 kB / 0.5536 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.3475, allocations: 34.33 kB / 0.5536 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.3483, allocations: 480.3 kB / 0.5541 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.3522, allocations: 2.944 MB / 0.557 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.3526, allocations: 172.1 kB / 0.5571 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.3527, allocations: 97.72 kB / 0.5572 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.3528, allocations: 8 kB / 0.5572 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3528, allocations: 38.5 kB / 0.5573 GB, free: 4.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.3528, allocations: 0 / 0.5573 GB, free: 4.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001605/0.3544, allocations: 0.7797 MB / 0.558 GB, free: 3.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3545, allocations: 81.11 kB / 0.5581 GB, free: 3.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3549, allocations: 345.6 kB / 0.5584 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3549, allocations: 29.7 kB / 0.5585 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.3552, allocations: 303.9 kB / 0.5588 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.3552, allocations: 91.25 kB / 0.5588 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.3554, allocations: 90.2 kB / 0.5589 GB, free: 2.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3555, allocations: 346.8 kB / 0.5593 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3558, allocations: 124.8 kB / 0.5594 GB, free: 2.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.3562, allocations: 330.8 kB / 0.5597 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.3569, allocations: 0.4903 MB / 0.5602 GB, free: 1.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3569, allocations: 7.938 kB / 0.5602 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001063/0.3579, allocations: 0.5547 MB / 0.5607 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3579, allocations: 8 kB / 0.5607 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005414/0.3585, allocations: 272.2 kB / 0.561 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.3589, allocations: 80.78 kB / 0.5611 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3592, allocations: 100.2 kB / 0.5612 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.361, allocations: 1.631 MB / 0.5628 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3613, allocations: 19.98 kB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3613, allocations: 20 kB / 0.5628 GB, free: 14.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.3616, allocations: 221.5 kB / 0.563 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.3617, allocations: 35.77 kB / 0.563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.3622, allocations: 283.9 kB / 0.5633 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3622, allocations: 8.062 kB / 0.5633 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3622, allocations: 3.938 kB / 0.5633 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3622, allocations: 3.984 kB / 0.5633 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3636, allocations: 0.7635 MB / 0.5641 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3636, allocations: 3.984 kB / 0.5641 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.3639, allocations: 55.97 kB / 0.5641 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3639, allocations: 8 kB / 0.5641 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3639, allocations: 8 kB / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3639, allocations: 3.938 kB / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3639, allocations: 7.938 kB / 0.5642 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.3645, allocations: 465.7 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3646, allocations: 35.7 kB / 0.5646 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.3647, allocations: 11.94 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3649, allocations: 12.03 kB / 0.5647 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3649, allocations: 19.91 kB / 0.5647 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3649, allocations: 8 kB / 0.5647 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.3652, allocations: 235.2 kB / 0.5649 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3652, allocations: 0 / 0.5649 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.3657, allocations: 92 kB / 0.565 GB, free: 12.14 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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.0009751/0.3667, allocations: 1.023 MB / 0.566 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008226/0.3675, allocations: 431.8 kB / 0.5664 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3675, allocations: 0 / 0.5664 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3677, allocations: 107.8 kB / 0.5665 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.3682, allocations: 85.58 kB / 0.5666 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.3736, allocations: 3.995 MB / 0.5705 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.3742, allocations: 0.874 MB / 0.5713 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.3744, allocations: 111.2 kB / 0.5714 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3747, allocations: 143.4 kB / 0.5716 GB, free: 5.039 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3747, allocations: 3.938 kB / 0.5716 GB, free: 5.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.416, allocations: 7.841 MB / 0.5792 GB, free: 13.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.33, allocations: 10.72 kB / 0.5793 GB, free: 13.3 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.15941524785012] Failed to read output from testmodel.py, exit status != 0: 12.45263063791208 12.467464852 12.121732993 Calling exit ...