Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001331/0.001331, 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.001462/0.001462, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.1894/0.1894, allocations: 38.55 MB / 353.3 MB, free: 12.28 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_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002187/0.002187, allocations: 63.91 kB / 493.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3226, allocations: 62.47 MB / 0.5427 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003669/0.3263, allocations: 2.183 MB / 0.5449 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.3295, allocations: 1.901 MB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3296, allocations: 1.156 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.3297, allocations: 13.58 kB / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.3298, allocations: 27.08 kB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.3324, allocations: 0.9824 MB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3326, allocations: 75.72 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/0.3326, allocations: 14.44 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3328, allocations: 47.09 kB / 0.5478 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.3329, allocations: 48.62 kB / 0.5479 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3329, allocations: 2.062 kB / 0.5479 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.3361, allocations: 2.043 MB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.3362, allocations: 36.16 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.3363, allocations: 30.22 kB / 0.5499 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.3381, allocations: 1.365 MB / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3381, allocations: 0 / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3381, allocations: 0 / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3381, allocations: 1.688 kB / 0.5513 GB, free: 10.08 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007695/0.3389, allocations: 0.4899 MB / 0.5518 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3389, allocations: 12.83 kB / 0.5518 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.324e-05/0.3389, allocations: 2.562 kB / 0.5518 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3389, allocations: 42.14 kB / 0.5518 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.339, allocations: 13.41 kB / 0.5518 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3392, allocations: 153.5 kB / 0.552 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.3392, allocations: 0.9688 kB / 0.552 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3392, allocations: 5 kB / 0.552 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3394, allocations: 173 kB / 0.5521 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3394, allocations: 3.938 kB / 0.5521 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3395, allocations: 0.9062 kB / 0.5521 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3395, allocations: 0 / 0.5521 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3396, allocations: 132.2 kB / 0.5523 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3398, allocations: 160.8 kB / 0.5524 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3399, allocations: 146.3 kB / 0.5526 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3401, allocations: 135.8 kB / 0.5527 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.3401, allocations: 9.016 kB / 0.5527 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3401, allocations: 35.62 kB / 0.5527 GB, free: 8.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.3401, allocations: 0 / 0.5527 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006518/0.3408, allocations: 487.5 kB / 0.5532 GB, free: 8.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.3408, allocations: 96.59 kB / 0.5533 GB, free: 8.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.341, allocations: 153.1 kB / 0.5534 GB, free: 8.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.341, allocations: 26.86 kB / 0.5535 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.3411, allocations: 96.58 kB / 0.5536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.3411, allocations: 81.78 kB / 0.5536 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.3412, allocations: 27.92 kB / 0.5537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3414, allocations: 332.4 kB / 0.554 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3415, allocations: 132.1 kB / 0.5541 GB, free: 7.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3416, allocations: 137.9 kB / 0.5542 GB, free: 7.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.3419, allocations: 305.3 kB / 0.5545 GB, free: 7.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3419, allocations: 0 / 0.5545 GB, free: 7.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003614/0.3423, allocations: 330.2 kB / 0.5548 GB, free: 7.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/0.3424, allocations: 65.02 kB / 0.5549 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3424, allocations: 3.984 kB / 0.5549 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3424, allocations: 0 / 0.5549 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3424, allocations: 0 / 0.5549 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.3424, allocations: 1.062 kB / 0.5549 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.3424, allocations: 13.23 kB / 0.5549 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3425, allocations: 10.56 kB / 0.5549 GB, free: 7.281 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.0001728/0.3426, allocations: 194.5 kB / 0.5551 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3427, allocations: 17.66 kB / 0.5551 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.3427, allocations: 12.52 kB / 0.5551 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3427, allocations: 1.094 kB / 0.5552 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3427, allocations: 0 / 0.5552 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3427, allocations: 3.938 kB / 0.5552 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3429, allocations: 171.1 kB / 0.5553 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3429, allocations: 0 / 0.5553 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.3429, allocations: 4.938 kB / 0.5553 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3429, allocations: 4 kB / 0.5553 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3429, allocations: 9.75 kB / 0.5553 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3429, allocations: 0 / 0.5553 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3429, allocations: 0 / 0.5553 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.3435, allocations: 0.5287 MB / 0.5559 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.3435, allocations: 19.8 kB / 0.5559 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3436, allocations: 4 kB / 0.5559 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.3436, allocations: 4 kB / 0.5559 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3436, allocations: 4 kB / 0.5559 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3436, allocations: 4 kB / 0.5559 GB, free: 6.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.584e-05/0.3437, allocations: 126.6 kB / 0.556 GB, free: 6.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3437, allocations: 4.031 kB / 0.556 GB, free: 6.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001037/0.3448, allocations: 339.3 kB / 0.5563 GB, free: 5.902 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.001993/0.3468, allocations: 1.329 MB / 0.5576 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.3474, allocations: 0.4986 MB / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3474, allocations: 0 / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.3477, allocations: 301 kB / 0.5584 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.348, allocations: 20.14 kB / 0.5584 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.3515, allocations: 2.99 MB / 0.5613 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.3516, allocations: 114 kB / 0.5615 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.457e-05/0.3516, allocations: 0 / 0.5615 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3517, allocations: 35.42 kB / 0.5615 GB, free: 416 kB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3517, allocations: 3.938 kB / 0.5615 GB, free: 412 kB / 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.984605584992096] Failed to read output from testmodel.py, exit status != 0: 0.38861368398647755 0.403080942 0.061830425 Calling exit ...