Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001411/0.001411, allocations: 111 kB / 20.43 MB, free: 4.598 MB / 13.93 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.001013/0.001013, allocations: 229.5 kB / 23.73 MB, free: 2.137 MB / 13.93 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 0.9332/0.9332, allocations: 230.6 MB / 257.5 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] 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.1178/0.1178, allocations: 38.57 MB / 352.5 MB, free: 11.32 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_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.001432/0.001432, allocations: 71.89 kB / 493.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08621, allocations: 62.48 MB / 0.5428 GB, free: 5.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002452/0.08866, allocations: 2.183 MB / 0.5449 GB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.09052, allocations: 1.903 MB / 0.5468 GB, free: 1.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.09056, allocations: 3.938 kB / 0.5468 GB, free: 1.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.09068, allocations: 11.92 kB / 0.5468 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.09075, allocations: 23.83 kB / 0.5468 GB, free: 1.793 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.09234, allocations: 0.9629 MB / 0.5477 GB, free: 0.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.09244, allocations: 79.67 kB / 0.5478 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.09248, allocations: 8.172 kB / 0.5478 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.09258, allocations: 47.83 kB / 0.5479 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.09265, allocations: 51.75 kB / 0.5479 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.09266, allocations: 4 kB / 0.5479 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.09447, allocations: 1.894 MB / 0.5498 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.09452, allocations: 43.84 kB / 0.5498 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.09456, allocations: 43.61 kB / 0.5498 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.09576, allocations: 1.395 MB / 0.5512 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09576, allocations: 0 / 0.5512 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09576, allocations: 0 / 0.5512 GB, free: 13.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09577, allocations: 0 / 0.5512 GB, free: 13.26 MB / 426.7 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.0005254/0.09629, allocations: 0.5369 MB / 0.5517 GB, free: 12.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.09633, allocations: 8.031 kB / 0.5517 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.09636, allocations: 50.73 kB / 0.5518 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.09639, allocations: 20.8 kB / 0.5518 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.09653, allocations: 165.9 kB / 0.552 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.09653, allocations: 4 kB / 0.552 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.09654, allocations: 4 kB / 0.552 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.09673, allocations: 232.3 kB / 0.5522 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.09674, allocations: 0 / 0.5522 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.09674, allocations: 0 / 0.5522 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.09675, allocations: 0 / 0.5522 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.09686, allocations: 193.9 kB / 0.5524 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.09698, allocations: 173.2 kB / 0.5525 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.09711, allocations: 200.5 kB / 0.5527 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.09723, allocations: 198.8 kB / 0.5529 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.09723, allocations: 0 / 0.5529 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.09725, allocations: 34.56 kB / 0.553 GB, free: 11.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 6.91e-07/0.09725, allocations: 0 / 0.553 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004855/0.09774, allocations: 0.7091 MB / 0.5537 GB, free: 10.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.09778, allocations: 113.1 kB / 0.5538 GB, free: 10.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.09788, allocations: 166.3 kB / 0.5539 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.09789, allocations: 29.7 kB / 0.5539 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.09793, allocations: 100.8 kB / 0.554 GB, free: 10.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.09799, allocations: 138.8 kB / 0.5542 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.09803, allocations: 41.69 kB / 0.5542 GB, free: 9.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.0981, allocations: 334.8 kB / 0.5545 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.09822, allocations: 189.6 kB / 0.5547 GB, free: 9.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.09832, allocations: 193.7 kB / 0.5549 GB, free: 9.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.09857, allocations: 445.2 kB / 0.5553 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09857, allocations: 0 / 0.5553 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002845/0.09886, allocations: 472.6 kB / 0.5558 GB, free: 8.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.09891, allocations: 85.64 kB / 0.5559 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.09892, allocations: 3.984 kB / 0.5559 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.09893, allocations: 0 / 0.5559 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.09893, allocations: 0 / 0.5559 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.09893, allocations: 0 / 0.5559 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.09898, allocations: 19.83 kB / 0.5559 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.099, allocations: 8 kB / 0.5559 GB, free: 8.172 MB / 426.7 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.0001186/0.09912, allocations: 243.4 kB / 0.5561 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.09914, allocations: 27.86 kB / 0.5561 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/0.09915, allocations: 10.66 kB / 0.5562 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.09915, allocations: 0 / 0.5562 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.09916, allocations: 4 kB / 0.5562 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.09916, allocations: 0 / 0.5562 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.171e-05/0.09925, allocations: 196.5 kB / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09925, allocations: 0 / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.09925, allocations: 3.938 kB / 0.5564 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.09925, allocations: 0 / 0.5564 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.09927, allocations: 12 kB / 0.5564 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.09927, allocations: 0 / 0.5564 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.09927, allocations: 0 / 0.5564 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.09981, allocations: 0.781 MB / 0.5571 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.09983, allocations: 31.72 kB / 0.5572 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.09985, allocations: 4 kB / 0.5572 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.251e-05/0.09988, allocations: 8 kB / 0.5572 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.0999, allocations: 4 kB / 0.5572 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.09991, allocations: 12 kB / 0.5572 GB, free: 6.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.09998, allocations: 120.2 kB / 0.5573 GB, free: 6.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09998, allocations: 0 / 0.5573 GB, free: 6.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007221/0.1007, allocations: 359.4 kB / 0.5576 GB, free: 6.289 MB / 426.7 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.001249/0.1019, allocations: 1.583 MB / 0.5592 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.1025, allocations: 0.7523 MB / 0.5599 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1025, allocations: 0 / 0.5599 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1027, allocations: 440.8 kB / 0.5603 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.1029, allocations: 20.16 kB / 0.5604 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.164/0.2669, allocations: 3.936 MB / 0.5642 GB, free: 27.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.606e-05/0.267, allocations: 143.2 kB / 0.5643 GB, free: 27.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.267, allocations: 1.281 kB / 0.5643 GB, free: 27.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.2671, allocations: 48.58 kB / 0.5644 GB, free: 27.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2671, allocations: 0 / 0.5644 GB, free: 27.21 MB / 426.7 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: 2.166595264337957]