Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001323/0.001323, 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.001436/0.001436, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.1969/0.1969, allocations: 38.55 MB / 353.2 MB, free: 12.29 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002036/0.002036, allocations: 63.91 kB / 493.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4006, allocations: 62.48 MB / 0.5427 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003968/0.4046, allocations: 2.192 MB / 0.5449 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.4081, allocations: 1.889 MB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.4082, allocations: 0 / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.4083, allocations: 10.11 kB / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4084, allocations: 31.61 kB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.4125, allocations: 0.9829 MB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4128, allocations: 80.31 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.4129, allocations: 10.17 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.4131, allocations: 45.92 kB / 0.5478 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.4132, allocations: 50.59 kB / 0.5479 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4132, allocations: 2.5 kB / 0.5479 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.4175, allocations: 2.047 MB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.4176, allocations: 42.88 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.4177, allocations: 52.56 kB / 0.55 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.4201, allocations: 1.385 MB / 0.5513 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4202, allocations: 0 / 0.5513 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4202, allocations: 1.312 kB / 0.5513 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4202, allocations: 3.938 kB / 0.5513 GB, free: 10.04 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009671/0.4211, allocations: 0.5356 MB / 0.5519 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4212, allocations: 14.86 kB / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.4212, allocations: 1.75 kB / 0.5519 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.4212, allocations: 53.73 kB / 0.5519 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.4213, allocations: 17.73 kB / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.4215, allocations: 161.3 kB / 0.5521 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4215, allocations: 5.094 kB / 0.5521 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.4216, allocations: 5.438 kB / 0.5521 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.4219, allocations: 239.2 kB / 0.5523 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.422, allocations: 3.984 kB / 0.5523 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.422, allocations: 1.062 kB / 0.5523 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.422, allocations: 0 / 0.5523 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.4223, allocations: 197.4 kB / 0.5525 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.4225, allocations: 180.5 kB / 0.5527 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4228, allocations: 215.1 kB / 0.5529 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.423, allocations: 209.2 kB / 0.5531 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.423, allocations: 1.062 kB / 0.5531 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4231, allocations: 35.7 kB / 0.5531 GB, free: 8.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.4231, allocations: 0 / 0.5531 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001106/0.4242, allocations: 0.7267 MB / 0.5538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.4243, allocations: 109.2 kB / 0.554 GB, free: 8.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4244, allocations: 168.5 kB / 0.5541 GB, free: 8.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4245, allocations: 25.7 kB / 0.5541 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4245, allocations: 102.5 kB / 0.5542 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4247, allocations: 146.2 kB / 0.5544 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.4247, allocations: 37.92 kB / 0.5544 GB, free: 7.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4249, allocations: 339.1 kB / 0.5547 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.4251, allocations: 198.9 kB / 0.5549 GB, free: 7.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.4253, allocations: 199.5 kB / 0.5551 GB, free: 7.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.4258, allocations: 466 kB / 0.5556 GB, free: 6.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4258, allocations: 0 / 0.5556 GB, free: 6.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005952/0.4264, allocations: 484.7 kB / 0.556 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.4265, allocations: 85.62 kB / 0.5561 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4265, allocations: 0 / 0.5561 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4266, allocations: 4.062 kB / 0.5561 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.4266, allocations: 0 / 0.5561 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4266, allocations: 4 kB / 0.5561 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.4267, allocations: 15.89 kB / 0.5561 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.4267, allocations: 8 kB / 0.5561 GB, free: 6.203 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.0002525/0.4269, allocations: 239.3 kB / 0.5564 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.427, allocations: 23.86 kB / 0.5564 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.427, allocations: 10.66 kB / 0.5564 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.427, allocations: 3.938 kB / 0.5564 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.427, allocations: 3.984 kB / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.427, allocations: 4 kB / 0.5564 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.4272, allocations: 204.4 kB / 0.5566 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4272, allocations: 0 / 0.5566 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.4272, allocations: 3.938 kB / 0.5566 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4272, allocations: 0 / 0.5566 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.4273, allocations: 8 kB / 0.5566 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4273, allocations: 0 / 0.5566 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4273, allocations: 0 / 0.5566 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.4282, allocations: 0.7928 MB / 0.5574 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.4283, allocations: 27.8 kB / 0.5574 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.4283, allocations: 8 kB / 0.5574 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.4284, allocations: 8.031 kB / 0.5574 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.4284, allocations: 4 kB / 0.5574 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4285, allocations: 11.94 kB / 0.5574 GB, free: 4.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.4286, allocations: 132.2 kB / 0.5576 GB, free: 4.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4286, allocations: 0 / 0.5576 GB, free: 4.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001452/0.43, allocations: 359.3 kB / 0.5579 GB, free: 4.293 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.002669/0.4327, allocations: 1.598 MB / 0.5595 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4337, allocations: 0.7797 MB / 0.5602 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4337, allocations: 0 / 0.5602 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.4342, allocations: 448.8 kB / 0.5607 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4345, allocations: 18.06 kB / 0.5607 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.4393, allocations: 3.999 MB / 0.5646 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4395, allocations: 148.2 kB / 0.5647 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.4395, allocations: 7.938 kB / 0.5647 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.4396, allocations: 43.42 kB / 0.5648 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4396, allocations: 0 / 0.5648 GB, free: 13.04 MB / 414.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: 3.0837471149861813] Failed to read output from testmodel.py, exit status != 0: 0.4806030869949609 0.49691910199999995 0.073311001 Calling exit ...