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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.001513/0.001513, allocations: 203.6 kB / 23.72 MB, free: 4.414 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2125/0.2125, allocations: 38.55 MB / 352.5 MB, free: 12.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002041/0.002041, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004335/0.3661, allocations: 2.205 MB / 0.5441 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.3697, allocations: 1.895 MB / 0.546 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.3698, allocations: 1.031 kB / 0.546 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3699, allocations: 17.44 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.37, allocations: 26.97 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.3729, allocations: 0.985 MB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3731, allocations: 71.67 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.3731, allocations: 14.47 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3733, allocations: 43.12 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3734, allocations: 49.56 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3734, allocations: 3.25 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.3769, allocations: 2.05 MB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.377, allocations: 43.38 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.377, allocations: 44.44 kB / 0.5492 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.3795, allocations: 1.389 MB / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3795, allocations: 5.406 kB / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3795, allocations: 0 / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.3795, allocations: 0 / 0.5506 GB, free: 10.07 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.0009844/0.3805, allocations: 0.5401 MB / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.3805, allocations: 17.64 kB / 0.5511 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.3806, allocations: 49.61 kB / 0.5512 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.3806, allocations: 17.73 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3809, allocations: 161.5 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3809, allocations: 1.156 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3809, allocations: 0.9375 kB / 0.5513 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.3812, allocations: 235.9 kB / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3812, allocations: 0 / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3812, allocations: 4.891 kB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3813, allocations: 3.938 kB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.3815, allocations: 205.1 kB / 0.5518 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.3817, allocations: 176.4 kB / 0.5519 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.3819, allocations: 219.4 kB / 0.5521 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3822, allocations: 206.1 kB / 0.5523 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.3822, allocations: 0 / 0.5523 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3822, allocations: 32.44 kB / 0.5524 GB, free: 8.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.052e-06/0.3822, allocations: 0 / 0.5524 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001084/0.3833, allocations: 0.7303 MB / 0.5531 GB, free: 8.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.3834, allocations: 108.3 kB / 0.5532 GB, free: 8.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.3836, allocations: 172.4 kB / 0.5534 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3836, allocations: 26.7 kB / 0.5534 GB, free: 8.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.3837, allocations: 110.4 kB / 0.5535 GB, free: 7.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.3838, allocations: 138.5 kB / 0.5536 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.3839, allocations: 33.3 kB / 0.5537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3841, allocations: 338.4 kB / 0.554 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3843, allocations: 200.3 kB / 0.5542 GB, free: 7.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3845, allocations: 196.1 kB / 0.5544 GB, free: 7.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.3851, allocations: 463.6 kB / 0.5548 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3851, allocations: 0 / 0.5548 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006173/0.3857, allocations: 484.7 kB / 0.5553 GB, free: 6.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3858, allocations: 85.62 kB / 0.5553 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3858, allocations: 8.062 kB / 0.5553 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3858, allocations: 3.938 kB / 0.5554 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-06/0.3858, allocations: 4 kB / 0.5554 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3859, allocations: 0 / 0.5554 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.3859, allocations: 15.89 kB / 0.5554 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.386, allocations: 11.98 kB / 0.5554 GB, free: 6.219 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.0002573/0.3862, allocations: 235.4 kB / 0.5556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3863, allocations: 23.86 kB / 0.5556 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3863, allocations: 26.58 kB / 0.5557 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3863, allocations: 0 / 0.5557 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3863, allocations: 4 kB / 0.5557 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3863, allocations: 0 / 0.5557 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3866, allocations: 196.4 kB / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3866, allocations: 0 / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3866, allocations: 0 / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3866, allocations: 0 / 0.5558 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.3866, allocations: 8 kB / 0.5559 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3866, allocations: 0 / 0.5559 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3866, allocations: 0 / 0.5559 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3877, allocations: 0.8006 MB / 0.5566 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.3877, allocations: 23.73 kB / 0.5567 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3877, allocations: 12.03 kB / 0.5567 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.3878, allocations: 4 kB / 0.5567 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3878, allocations: 8 kB / 0.5567 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.3878, allocations: 8 kB / 0.5567 GB, free: 4.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.388, allocations: 132.2 kB / 0.5568 GB, free: 4.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 0.5568 GB, free: 4.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001582/0.3895, allocations: 359.3 kB / 0.5572 GB, free: 4.312 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.0026/0.3921, allocations: 1.602 MB / 0.5587 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3932, allocations: 0.7718 MB / 0.5595 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3932, allocations: 0 / 0.5595 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.3937, allocations: 444.8 kB / 0.5599 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.394, allocations: 23.98 kB / 0.5599 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.3991, allocations: 3.995 MB / 0.5638 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3993, allocations: 148.2 kB / 0.564 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.3993, allocations: 3.938 kB / 0.564 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.3994, allocations: 55.39 kB / 0.564 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3994, allocations: 0 / 0.564 GB, free: 13.05 MB / 414.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.1297314719995484] Failed to read output from testmodel.py, exit status != 0: 0.4388436090084724 0.455260813 0.07244897900000001 Calling exit ...