Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001372/0.001372, 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.001716/0.001716, allocations: 205.2 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2086/0.2086, allocations: 38.52 MB / 353.2 MB, free: 12.55 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_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.002517/0.002517, allocations: 63.91 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3685, allocations: 62.48 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004149/0.3727, allocations: 2.211 MB / 0.5449 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.3764, allocations: 2.102 MB / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.3765, allocations: 0 / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.3766, allocations: 14.42 kB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3767, allocations: 26.36 kB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.3797, allocations: 0.9756 MB / 0.548 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3799, allocations: 79.56 kB / 0.5481 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.3799, allocations: 10.36 kB / 0.5481 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.3801, allocations: 46.3 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3802, allocations: 47.02 kB / 0.5482 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3802, allocations: 1.062 kB / 0.5482 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.384, allocations: 2.23 MB / 0.5503 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.3841, allocations: 16.67 kB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.3841, allocations: 28.39 kB / 0.5504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.3864, allocations: 1.366 MB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3864, allocations: 0 / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3864, allocations: 1.094 kB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3864, allocations: 0 / 0.5517 GB, free: 9.906 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.0007918/0.3872, allocations: 472 kB / 0.5522 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3873, allocations: 12.98 kB / 0.5522 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.636e-05/0.3873, allocations: 1.312 kB / 0.5522 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.3873, allocations: 36.97 kB / 0.5522 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3874, allocations: 12.27 kB / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.3875, allocations: 141.2 kB / 0.5524 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3876, allocations: 0.9688 kB / 0.5524 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.3876, allocations: 1.125 kB / 0.5524 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3877, allocations: 73.28 kB / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3877, allocations: 0 / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3878, allocations: 0 / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3878, allocations: 5.125 kB / 0.5524 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.3878, allocations: 30.52 kB / 0.5525 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.388, allocations: 151.8 kB / 0.5526 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3881, allocations: 53.78 kB / 0.5527 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.3881, allocations: 35.94 kB / 0.5527 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.3881, allocations: 0 / 0.5527 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3882, allocations: 31.84 kB / 0.5527 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.3882, allocations: 0 / 0.5527 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003395/0.3885, allocations: 193.4 kB / 0.5529 GB, free: 8.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.3886, allocations: 88.64 kB / 0.553 GB, free: 8.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3887, allocations: 136.8 kB / 0.5531 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3887, allocations: 25.7 kB / 0.5532 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.3888, allocations: 96.25 kB / 0.5532 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.3888, allocations: 39.39 kB / 0.5533 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.3889, allocations: 21.62 kB / 0.5533 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3891, allocations: 322.3 kB / 0.5536 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.3891, allocations: 34.89 kB / 0.5536 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.3892, allocations: 38.56 kB / 0.5537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3893, allocations: 158.8 kB / 0.5538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3893, allocations: 1.375 kB / 0.5538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001931/0.3895, allocations: 155.1 kB / 0.554 GB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.3896, allocations: 44.41 kB / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3896, allocations: 7.922 kB / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3896, allocations: 1.469 kB / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3896, allocations: 0 / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3896, allocations: 0 / 0.554 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.3896, allocations: 10.8 kB / 0.554 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3897, allocations: 4.344 kB / 0.554 GB, free: 7.844 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.00014/0.3898, allocations: 172.1 kB / 0.5542 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3898, allocations: 10.23 kB / 0.5542 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.3898, allocations: 11.75 kB / 0.5542 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3898, allocations: 7.875 kB / 0.5542 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3898, allocations: 0 / 0.5542 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3899, allocations: 5.344 kB / 0.5542 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.39, allocations: 153.5 kB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.39, allocations: 0 / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.39, allocations: 1.094 kB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.39, allocations: 4 kB / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.39, allocations: 3.125 kB / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.39, allocations: 1.156 kB / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.39, allocations: 0 / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.3904, allocations: 297 kB / 0.5547 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.3904, allocations: 7.516 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3904, allocations: 2.594 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.3904, allocations: 2.438 kB / 0.5547 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.3905, allocations: 9.312 kB / 0.5547 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3905, allocations: 7.891 kB / 0.5547 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.3905, allocations: 104.7 kB / 0.5548 GB, free: 7.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3905, allocations: 0 / 0.5548 GB, free: 7.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009904/0.3915, allocations: 324.1 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.001619/0.3932, allocations: 1.082 MB / 0.5562 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3935, allocations: 238 kB / 0.5564 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3935, allocations: 0 / 0.5564 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3937, allocations: 163.3 kB / 0.5566 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.394, allocations: 19.81 kB / 0.5566 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3964, allocations: 1.962 MB / 0.5585 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3968, allocations: 0.7041 MB / 0.5592 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.185e-05/0.3968, allocations: 0 / 0.5592 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.3968, allocations: 27.42 kB / 0.5592 GB, free: 3.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3968, allocations: 0 / 0.5592 GB, free: 3.18 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: 3.0697893769829534] Failed to read output from testmodel.py, exit status != 0: 0.43957019300432876 0.46053711500000005 0.07073254600000001 Calling exit ...