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.001917/0.001917, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.002147/0.002147, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2176/0.2176, allocations: 38.53 MB / 353.3 MB, free: 12.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002023/0.002023, allocations: 63.89 kB / 493.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 62.47 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003498/0.3641, allocations: 2.224 MB / 0.545 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.3675, allocations: 2.102 MB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.3676, allocations: 3.938 kB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3677, allocations: 14.05 kB / 0.547 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.3678, allocations: 26.55 kB / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.3705, allocations: 0.9803 MB / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3707, allocations: 76.75 kB / 0.5481 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3707, allocations: 10.17 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3709, allocations: 42.72 kB / 0.5481 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.371, allocations: 52.88 kB / 0.5482 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.371, allocations: 2.531 kB / 0.5482 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003659/0.3746, allocations: 2.234 MB / 0.5504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.3747, allocations: 32.45 kB / 0.5504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.3748, allocations: 41.62 kB / 0.5504 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.3767, allocations: 1.392 MB / 0.5518 GB, free: 9.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3768, allocations: 1.438 kB / 0.5518 GB, free: 9.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3768, allocations: 0 / 0.5518 GB, free: 9.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3768, allocations: 0 / 0.5518 GB, free: 9.836 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.0007724/0.3775, allocations: 0.4933 MB / 0.5523 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3776, allocations: 17.72 kB / 0.5523 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.3776, allocations: 5.688 kB / 0.5523 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3776, allocations: 38.47 kB / 0.5523 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3777, allocations: 13.03 kB / 0.5523 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3779, allocations: 149.9 kB / 0.5525 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3779, allocations: 1.125 kB / 0.5525 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3779, allocations: 1.219 kB / 0.5525 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3781, allocations: 95.09 kB / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.3781, allocations: 0 / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3781, allocations: 5.562 kB / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3781, allocations: 0 / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.3782, allocations: 61.34 kB / 0.5526 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.3783, allocations: 156.8 kB / 0.5528 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3785, allocations: 80.83 kB / 0.5529 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.3786, allocations: 66.14 kB / 0.5529 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.3786, allocations: 0 / 0.5529 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3786, allocations: 39.83 kB / 0.553 GB, free: 8.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.705e-06/0.3786, allocations: 3.984 kB / 0.553 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005342/0.3791, allocations: 326.1 kB / 0.5533 GB, free: 8.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3792, allocations: 92.27 kB / 0.5534 GB, free: 8.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3794, allocations: 158.6 kB / 0.5535 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3794, allocations: 26.8 kB / 0.5536 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3794, allocations: 95.8 kB / 0.5536 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.3795, allocations: 85.16 kB / 0.5537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.3796, allocations: 32.8 kB / 0.5538 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3797, allocations: 332.3 kB / 0.5541 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.3798, allocations: 60.75 kB / 0.5541 GB, free: 7.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.3799, allocations: 61.44 kB / 0.5542 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3802, allocations: 249.8 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3802, allocations: 1.094 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00029/0.3805, allocations: 240.4 kB / 0.5547 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/0.3805, allocations: 64.81 kB / 0.5547 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3806, allocations: 0 / 0.5547 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3806, allocations: 8 kB / 0.5547 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3806, allocations: 1.344 kB / 0.5547 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3806, allocations: 3.938 kB / 0.5547 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3806, allocations: 13.48 kB / 0.5547 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3807, allocations: 6.219 kB / 0.5548 GB, free: 7.512 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.0001894/0.3809, allocations: 193.7 kB / 0.5549 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.3809, allocations: 17.91 kB / 0.555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.3809, allocations: 16.58 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3809, allocations: 0 / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3809, allocations: 5.125 kB / 0.555 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3809, allocations: 0 / 0.555 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.3811, allocations: 179.1 kB / 0.5551 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3811, allocations: 0 / 0.5551 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3811, allocations: 0 / 0.5551 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3811, allocations: 1.062 kB / 0.5551 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3811, allocations: 12.48 kB / 0.5552 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3811, allocations: 1 kB / 0.5552 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3811, allocations: 0 / 0.5552 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.3817, allocations: 0.517 MB / 0.5557 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.3818, allocations: 20.42 kB / 0.5557 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3818, allocations: 4.531 kB / 0.5557 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.3818, allocations: 4.156 kB / 0.5557 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3819, allocations: 10.19 kB / 0.5557 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3819, allocations: 5.5 kB / 0.5557 GB, free: 6.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.547e-05/0.382, allocations: 116 kB / 0.5558 GB, free: 6.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.382, allocations: 0 / 0.5558 GB, free: 6.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001047/0.383, allocations: 343.3 kB / 0.5561 GB, free: 6.48 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.001863/0.3849, allocations: 1.327 MB / 0.5574 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.3855, allocations: 455.2 kB / 0.5579 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3855, allocations: 8.031 kB / 0.5579 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.3858, allocations: 319.2 kB / 0.5582 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.386, allocations: 18.8 kB / 0.5582 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.3893, allocations: 2.683 MB / 0.5608 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3897, allocations: 0.7277 MB / 0.5615 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.3897, allocations: 4 kB / 0.5615 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.3898, allocations: 35.42 kB / 0.5616 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3898, allocations: 4.031 kB / 0.5616 GB, free: 0.75 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.1045658549992368] Failed to read output from testmodel.py, exit status != 0: 0.42678978003095835 0.44362415200000005 0.06339597000000001 Calling exit ...