Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001279/0.001279, 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.001602/0.001602, allocations: 214.1 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.461/1.461, 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.2112/0.2112, allocations: 38.54 MB / 353.2 MB, free: 12.32 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.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002259/0.002259, allocations: 67.91 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3364, allocations: 62.46 MB / 0.5427 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00398/0.3404, allocations: 2.183 MB / 0.5448 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.3439, allocations: 1.897 MB / 0.5467 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.344, allocations: 1.25 kB / 0.5467 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3442, allocations: 14.08 kB / 0.5467 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3443, allocations: 38.62 kB / 0.5468 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3474, allocations: 0.9751 MB / 0.5477 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3476, allocations: 79.8 kB / 0.5478 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.3477, allocations: 10.42 kB / 0.5478 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3478, allocations: 43.66 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3479, allocations: 46.53 kB / 0.5479 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3479, allocations: 5.125 kB / 0.5479 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.352, allocations: 2.046 MB / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.352, allocations: 9.844 kB / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.3521, allocations: 18.2 kB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.3549, allocations: 1.319 MB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3549, allocations: 4 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3549, allocations: 0 / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3549, allocations: 7.984 kB / 0.5512 GB, free: 10.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008964/0.3558, allocations: 444.4 kB / 0.5516 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3558, allocations: 14.3 kB / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.3558, allocations: 1.406 kB / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.3559, allocations: 36.06 kB / 0.5517 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.3559, allocations: 12.83 kB / 0.5517 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3561, allocations: 124.8 kB / 0.5518 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3561, allocations: 1.469 kB / 0.5518 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3561, allocations: 0 / 0.5518 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3563, allocations: 96.56 kB / 0.5519 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3563, allocations: 0 / 0.5519 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3563, allocations: 9.109 kB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3563, allocations: 0 / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.3564, allocations: 63.42 kB / 0.552 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.3566, allocations: 145.5 kB / 0.5521 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3567, allocations: 79.22 kB / 0.5522 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.3567, allocations: 70.83 kB / 0.5523 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3568, allocations: 1.406 kB / 0.5523 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3568, allocations: 31.5 kB / 0.5523 GB, free: 9.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.3568, allocations: 0 / 0.5523 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003577/0.3572, allocations: 240.8 kB / 0.5525 GB, free: 8.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3572, allocations: 87.77 kB / 0.5526 GB, free: 8.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3574, allocations: 131 kB / 0.5527 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3574, allocations: 25.7 kB / 0.5527 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.3574, allocations: 94.59 kB / 0.5528 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3575, allocations: 19.19 kB / 0.5529 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3575, allocations: 25.02 kB / 0.5529 GB, free: 8.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3577, allocations: 321.9 kB / 0.5532 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.3578, allocations: 67.08 kB / 0.5533 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.3578, allocations: 59.22 kB / 0.5533 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.358, allocations: 150.5 kB / 0.5535 GB, free: 8.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.358, allocations: 4.031 kB / 0.5535 GB, free: 8.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002426/0.3582, allocations: 183.7 kB / 0.5536 GB, free: 7.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.3583, allocations: 41.25 kB / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3583, allocations: 0 / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3583, allocations: 0.9688 kB / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3583, allocations: 0 / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3583, allocations: 0.9062 kB / 0.5537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.3584, allocations: 14.42 kB / 0.5537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3584, allocations: 2.531 kB / 0.5537 GB, free: 7.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.3586, allocations: 158.4 kB / 0.5538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3586, allocations: 8.906 kB / 0.5538 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.3586, allocations: 6.875 kB / 0.5539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3586, allocations: 0 / 0.5539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3586, allocations: 1.094 kB / 0.5539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3586, allocations: 7.922 kB / 0.5539 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3588, allocations: 139.1 kB / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3588, allocations: 0 / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.3588, allocations: 0 / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3588, allocations: 1.062 kB / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3588, allocations: 2.344 kB / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3588, allocations: 1.656 kB / 0.554 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3588, allocations: 7.938 kB / 0.554 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.3591, allocations: 263.1 kB / 0.5543 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.3591, allocations: 6.609 kB / 0.5543 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3592, allocations: 1.562 kB / 0.5543 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.3592, allocations: 2.219 kB / 0.5543 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3592, allocations: 2.25 kB / 0.5543 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3592, allocations: 6.969 kB / 0.5543 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.3593, allocations: 94.89 kB / 0.5544 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3593, allocations: 0 / 0.5544 GB, free: 7.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3606, allocations: 323.6 kB / 0.5547 GB, free: 7.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.002117/0.3627, allocations: 1.056 MB / 0.5557 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.3631, allocations: 254 kB / 0.5559 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3631, allocations: 9 kB / 0.556 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3632, allocations: 148.9 kB / 0.5561 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3636, allocations: 12.66 kB / 0.5561 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.366, allocations: 1.897 MB / 0.558 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.3661, allocations: 83.31 kB / 0.558 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.888e-05/0.3661, allocations: 0 / 0.558 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3661, allocations: 15.44 kB / 0.5581 GB, free: 3.949 MB / 398.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3661, allocations: 0 / 0.5581 GB, free: 3.949 MB / 398.1 MB [CodegenCFunctions.tpl:5657:13-5657:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9776388950413093] Failed to read output from testmodel.py, exit status != 0: 0.4046679000603035 0.423707798 0.065003875 Calling exit ...