Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001274/0.001274, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001402/0.001402, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1952/0.1952, allocations: 38.53 MB / 353.2 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 master/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_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.00198/0.00198, allocations: 75.86 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003711/0.3161, allocations: 2.204 MB / 0.5449 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.3195, allocations: 2.102 MB / 0.547 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.3196, allocations: 0.8125 kB / 0.547 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3197, allocations: 18.47 kB / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.3198, allocations: 26.25 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.3228, allocations: 0.9909 MB / 0.548 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3229, allocations: 75.7 kB / 0.5481 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.323, allocations: 14.28 kB / 0.5481 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3231, allocations: 41.72 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3233, allocations: 51.38 kB / 0.5482 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3233, allocations: 2.094 kB / 0.5482 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.3276, allocations: 2.226 MB / 0.5503 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.3276, allocations: 21.78 kB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.3277, allocations: 23.44 kB / 0.5504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.3307, allocations: 1.366 MB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3307, allocations: 0 / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3307, allocations: 5.062 kB / 0.5517 GB, free: 9.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3307, allocations: 0 / 0.5517 GB, free: 9.902 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001102/0.3318, allocations: 467.4 kB / 0.5522 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3318, allocations: 14.83 kB / 0.5522 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.3319, allocations: 192 / 0.5522 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.3319, allocations: 45.61 kB / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3319, allocations: 7.828 kB / 0.5522 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3322, allocations: 132.7 kB / 0.5524 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3322, allocations: 1.406 kB / 0.5524 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3322, allocations: 5.438 kB / 0.5524 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3323, allocations: 68.61 kB / 0.5524 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3324, allocations: 0 / 0.5524 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3324, allocations: 0 / 0.5524 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3324, allocations: 5.406 kB / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.3324, allocations: 31.2 kB / 0.5525 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3326, allocations: 146 kB / 0.5526 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.3327, allocations: 54.09 kB / 0.5527 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.371e-05/0.3328, allocations: 43.61 kB / 0.5527 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3328, allocations: 1.25 kB / 0.5527 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3328, allocations: 30.56 kB / 0.5527 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3328, allocations: 1.094 kB / 0.5527 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003766/0.3332, allocations: 188.5 kB / 0.5529 GB, free: 8.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.3333, allocations: 92.75 kB / 0.553 GB, free: 8.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3334, allocations: 132.5 kB / 0.5531 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3335, allocations: 25.73 kB / 0.5532 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.3335, allocations: 95.3 kB / 0.5532 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.3336, allocations: 41.33 kB / 0.5533 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3336, allocations: 24.98 kB / 0.5533 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3338, allocations: 322.1 kB / 0.5536 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.3339, allocations: 35.27 kB / 0.5537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.3339, allocations: 30.67 kB / 0.5537 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3341, allocations: 158.9 kB / 0.5538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3341, allocations: 0 / 0.5538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002613/0.3344, allocations: 160.2 kB / 0.554 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.3344, allocations: 44.84 kB / 0.554 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3344, allocations: 0 / 0.554 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3345, allocations: 3.984 kB / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-06/0.3345, allocations: 1 kB / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3345, allocations: 0 / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.3345, allocations: 11.08 kB / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3345, allocations: 3.812 kB / 0.554 GB, free: 7.852 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.0001585/0.3347, allocations: 164.8 kB / 0.5542 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3347, allocations: 13.7 kB / 0.5542 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.3347, allocations: 10.88 kB / 0.5542 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3347, allocations: 11.91 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3348, allocations: 0.9688 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3348, allocations: 7.938 kB / 0.5542 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3349, allocations: 154.2 kB / 0.5544 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3349, allocations: 1.094 kB / 0.5544 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3349, allocations: 0 / 0.5544 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3349, allocations: 0 / 0.5544 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3349, allocations: 4.312 kB / 0.5544 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3349, allocations: 4 kB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3349, allocations: 0 / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3353, allocations: 297.2 kB / 0.5547 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3353, allocations: 7.672 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3354, allocations: 6.328 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.3354, allocations: 2.5 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.3354, allocations: 6.312 kB / 0.5547 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3354, allocations: 3.25 kB / 0.5547 GB, free: 7.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.3355, allocations: 108.7 kB / 0.5548 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 0 / 0.5548 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001072/0.3366, allocations: 328.5 kB / 0.5551 GB, free: 7.137 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.00171/0.3383, allocations: 1.078 MB / 0.5562 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3387, allocations: 242.7 kB / 0.5564 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3387, allocations: 0 / 0.5564 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3389, allocations: 159.3 kB / 0.5566 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3393, allocations: 15.86 kB / 0.5566 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.3418, allocations: 1.958 MB / 0.5585 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3422, allocations: 0.708 MB / 0.5592 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.3422, allocations: 0 / 0.5592 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.3422, allocations: 19.44 kB / 0.5592 GB, free: 3.195 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3422, allocations: 0 / 0.5592 GB, free: 3.195 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.988102965988219] Failed to read output from testmodel.py, exit status != 0: 0.3939038420212455 0.424826625 0.08856381 Calling exit ...