Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001381/0.001381, allocations: 113.2 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.001582/0.001582, allocations: 214.4 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1861/0.1861, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.00215/0.00215, allocations: 67.89 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3189, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006519/0.3254, allocations: 4.726 MB / 0.5466 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.3283, allocations: 1.622 MB / 0.5482 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.3286, allocations: 20.59 kB / 0.5482 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.3296, allocations: 298.2 kB / 0.5485 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.3302, allocations: 274.2 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.331, allocations: 261.1 kB / 0.549 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.3318, allocations: 0.6053 MB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.3322, allocations: 217.5 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.3326, allocations: 290 kB / 0.5501 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.3332, allocations: 344.3 kB / 0.5504 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.3332, allocations: 33 kB / 0.5505 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.3336, allocations: 167.6 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.3338, allocations: 228.1 kB / 0.5508 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.3341, allocations: 245.8 kB / 0.5511 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.3349, allocations: 0.6049 MB / 0.5517 GB, free: 9.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3349, allocations: 5.156 kB / 0.5517 GB, free: 9.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3349, allocations: 0 / 0.5517 GB, free: 9.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3349, allocations: 0 / 0.5517 GB, free: 9.172 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001403/0.3363, allocations: 0.7137 MB / 0.5524 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3363, allocations: 13.7 kB / 0.5524 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.3364, allocations: 87.86 kB / 0.5525 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/0.3372, allocations: 131.2 kB / 0.5526 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.3379, allocations: 352.4 kB / 0.5529 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3379, allocations: 28.28 kB / 0.5529 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.338, allocations: 51.83 kB / 0.553 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.339, allocations: 0.6619 MB / 0.5536 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.339, allocations: 6.062 kB / 0.5536 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.3391, allocations: 20.34 kB / 0.5537 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.3392, allocations: 47.72 kB / 0.5537 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.34, allocations: 496.4 kB / 0.5542 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.3437, allocations: 3.073 MB / 0.5572 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3442, allocations: 241.2 kB / 0.5574 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3444, allocations: 113.7 kB / 0.5575 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.3444, allocations: 7.984 kB / 0.5575 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3444, allocations: 42.55 kB / 0.5576 GB, free: 4.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.415e-06/0.3444, allocations: 0 / 0.5576 GB, free: 4.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001598/0.346, allocations: 0.826 MB / 0.5584 GB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.3461, allocations: 81.11 kB / 0.5585 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3465, allocations: 328.4 kB / 0.5588 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3465, allocations: 33.7 kB / 0.5588 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3467, allocations: 299.9 kB / 0.5591 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.3468, allocations: 91.22 kB / 0.5592 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3469, allocations: 90.2 kB / 0.5593 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3471, allocations: 350.7 kB / 0.5596 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3473, allocations: 132.8 kB / 0.5597 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.3477, allocations: 321.1 kB / 0.56 GB, free: 1.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.3483, allocations: 0.4964 MB / 0.5605 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3483, allocations: 0 / 0.5605 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001133/0.3494, allocations: 0.5887 MB / 0.5611 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3495, allocations: 8.125 kB / 0.5611 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006757/0.3501, allocations: 325.9 kB / 0.5614 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.3506, allocations: 117.5 kB / 0.5615 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.3509, allocations: 87.89 kB / 0.5616 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.3541, allocations: 3.078 MB / 0.5646 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.3544, allocations: 19.98 kB / 0.5646 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3544, allocations: 28.06 kB / 0.5646 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.3547, allocations: 209.6 kB / 0.5648 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.3548, allocations: 27.81 kB / 0.5649 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.3554, allocations: 321 kB / 0.5652 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3554, allocations: 4 kB / 0.5652 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3554, allocations: 3.938 kB / 0.5652 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3554, allocations: 11.92 kB / 0.5652 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3566, allocations: 0.7666 MB / 0.5659 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3566, allocations: 4.078 kB / 0.566 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.357, allocations: 59.91 kB / 0.566 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.357, allocations: 11.92 kB / 0.566 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.357, allocations: 8 kB / 0.566 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.357, allocations: 4.062 kB / 0.566 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.357, allocations: 7.938 kB / 0.566 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.3577, allocations: 0.4983 MB / 0.5665 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3578, allocations: 59.61 kB / 0.5666 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.3579, allocations: 8 kB / 0.5666 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3581, allocations: 15.98 kB / 0.5666 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3581, allocations: 19.83 kB / 0.5666 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3581, allocations: 8 kB / 0.5666 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.3584, allocations: 223 kB / 0.5668 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3584, allocations: 3.938 kB / 0.5668 GB, free: 10.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.3589, allocations: 100 kB / 0.5669 GB, free: 9.984 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.001008/0.3599, allocations: 1.054 MB / 0.568 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.3609, allocations: 0.5641 MB / 0.5685 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3609, allocations: 0 / 0.5685 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.3611, allocations: 115.8 kB / 0.5686 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3616, allocations: 67.41 kB / 0.5687 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.3677, allocations: 4.078 MB / 0.5727 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.3683, allocations: 0.8738 MB / 0.5735 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.3686, allocations: 115.2 kB / 0.5736 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3688, allocations: 143.4 kB / 0.5738 GB, free: 2.613 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3688, allocations: 0 / 0.5738 GB, free: 2.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.4118, allocations: 8.073 MB / 0.5817 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 0 / 0.5817 GB, free: 10.67 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.154964564135298] Failed to read output from testmodel.py, exit status != 0: 12.488202122040093 12.505533105 12.167359581 Calling exit ...