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.001299/0.001299, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001457/0.001457, allocations: 213.2 kB / 23.73 MB, free: 4.516 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1838/0.1838, allocations: 38.54 MB / 352.5 MB, free: 12.36 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002131/0.002131, allocations: 64.08 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 62.47 MB / 0.5419 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003789/0.3762, allocations: 2.197 MB / 0.5441 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.38, allocations: 1.898 MB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.3801, allocations: 1.375 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.3802, allocations: 13.14 kB / 0.546 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3804, allocations: 30.3 kB / 0.546 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.3839, allocations: 0.9889 MB / 0.547 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3842, allocations: 72.78 kB / 0.547 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.3842, allocations: 6.422 kB / 0.547 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3844, allocations: 46.5 kB / 0.5471 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3845, allocations: 52.25 kB / 0.5471 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3846, allocations: 2.375 kB / 0.5471 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.3889, allocations: 2.047 MB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.389, allocations: 32.22 kB / 0.5492 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.3891, allocations: 38.77 kB / 0.5492 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.3915, allocations: 1.359 MB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3915, allocations: 5.062 kB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3916, allocations: 0 / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3916, allocations: 0 / 0.5505 GB, free: 10.29 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.0008104/0.3924, allocations: 498.5 kB / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.3924, allocations: 13.42 kB / 0.551 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.696e-05/0.3925, allocations: 46.98 kB / 0.5511 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3926, allocations: 17.41 kB / 0.5511 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3928, allocations: 150.2 kB / 0.5512 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3928, allocations: 1.156 kB / 0.5512 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3928, allocations: 1.156 kB / 0.5512 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3931, allocations: 171.5 kB / 0.5514 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3931, allocations: 0 / 0.5514 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3931, allocations: 1.125 kB / 0.5514 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3931, allocations: 0 / 0.5514 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3933, allocations: 136.2 kB / 0.5515 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.3935, allocations: 157 kB / 0.5517 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3937, allocations: 146.1 kB / 0.5518 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3939, allocations: 143.9 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.3939, allocations: 1.094 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3939, allocations: 35.56 kB / 0.552 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.103e-06/0.3939, allocations: 0 / 0.552 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008409/0.3947, allocations: 480.2 kB / 0.5524 GB, free: 8.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.3948, allocations: 99.88 kB / 0.5525 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.395, allocations: 149.9 kB / 0.5527 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.395, allocations: 25.7 kB / 0.5527 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.3951, allocations: 97.05 kB / 0.5528 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.3952, allocations: 81.11 kB / 0.5529 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.3952, allocations: 33.36 kB / 0.5529 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3954, allocations: 332 kB / 0.5532 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3955, allocations: 131.2 kB / 0.5533 GB, free: 7.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3957, allocations: 130.7 kB / 0.5535 GB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.3961, allocations: 312.1 kB / 0.5538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3961, allocations: 1.156 kB / 0.5538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004455/0.3965, allocations: 326.9 kB / 0.5541 GB, free: 7.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/0.3966, allocations: 59.77 kB / 0.5541 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3966, allocations: 1.312 kB / 0.5541 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3966, allocations: 7.922 kB / 0.5541 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3966, allocations: 64 / 0.5541 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3966, allocations: 4.906 kB / 0.5541 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.3967, allocations: 13.08 kB / 0.5542 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3967, allocations: 5.812 kB / 0.5542 GB, free: 7.504 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.000207/0.3969, allocations: 199.2 kB / 0.5544 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.397, allocations: 17.66 kB / 0.5544 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.397, allocations: 12.67 kB / 0.5544 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.397, allocations: 3.984 kB / 0.5544 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.397, allocations: 1.156 kB / 0.5544 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.397, allocations: 3.938 kB / 0.5544 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3972, allocations: 171.1 kB / 0.5546 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3972, allocations: 4 kB / 0.5546 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3972, allocations: 0 / 0.5546 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3972, allocations: 1.031 kB / 0.5546 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3972, allocations: 9.562 kB / 0.5546 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3972, allocations: 0 / 0.5546 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3972, allocations: 0 / 0.5546 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.3979, allocations: 0.5273 MB / 0.5551 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.398, allocations: 19.8 kB / 0.5551 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.398, allocations: 4 kB / 0.5551 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.3981, allocations: 4 kB / 0.5551 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3981, allocations: 8.031 kB / 0.5551 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3981, allocations: 12 kB / 0.5551 GB, free: 6.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3982, allocations: 111.2 kB / 0.5552 GB, free: 6.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3982, allocations: 0 / 0.5552 GB, free: 6.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001267/0.3995, allocations: 343.3 kB / 0.5556 GB, free: 6.113 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.002003/0.4015, allocations: 1.332 MB / 0.5569 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.4022, allocations: 0.5064 MB / 0.5574 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4022, allocations: 0 / 0.5574 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.4025, allocations: 301 kB / 0.5576 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.4028, allocations: 14.05 kB / 0.5577 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.4066, allocations: 2.994 MB / 0.5606 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4068, allocations: 110 kB / 0.5607 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.7e-05/0.4068, allocations: 4.156 kB / 0.5607 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4068, allocations: 35.42 kB / 0.5607 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4069, allocations: 0 / 0.5607 GB, free: 0.6133 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658: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.0988097619847395] Failed to read output from testmodel.py, exit status != 0: 0.4434139429940842 0.460342803 0.065211427 Calling exit ...