Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001532/0.001532, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1855/0.1855, allocations: 38.55 MB / 352.5 MB, free: 12.4 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_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002048/0.002048, allocations: 66.41 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 62.47 MB / 0.542 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004352/0.3633, allocations: 2.186 MB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3669, allocations: 1.891 MB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.367, allocations: 5.188 kB / 0.5459 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3672, allocations: 25.95 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3673, allocations: 22.44 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.3704, allocations: 0.9777 MB / 0.5469 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3706, allocations: 74.78 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.747e-05/0.3707, allocations: 11.14 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3708, allocations: 51.11 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3709, allocations: 47.05 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.371, allocations: 1.469 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.3746, allocations: 2.049 MB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.3746, allocations: 10.06 kB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.3747, allocations: 10.47 kB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.377, allocations: 1.327 MB / 0.5504 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.377, allocations: 8 kB / 0.5504 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.377, allocations: 0 / 0.5504 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.377, allocations: 0 / 0.5504 GB, free: 10.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00098/0.378, allocations: 444.9 kB / 0.5509 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3781, allocations: 17.31 kB / 0.5509 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.3781, allocations: 36 kB / 0.5509 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.3782, allocations: 9.609 kB / 0.5509 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3784, allocations: 125 kB / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3784, allocations: 4 kB / 0.5511 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3784, allocations: 1.125 kB / 0.5511 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3786, allocations: 100.4 kB / 0.5512 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3786, allocations: 4 kB / 0.5512 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3786, allocations: 5.094 kB / 0.5512 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3786, allocations: 0 / 0.5512 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.3787, allocations: 63.73 kB / 0.5512 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.3789, allocations: 141.1 kB / 0.5514 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.379, allocations: 75.14 kB / 0.5514 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.3791, allocations: 71.75 kB / 0.5515 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3791, allocations: 0 / 0.5515 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3791, allocations: 36.69 kB / 0.5515 GB, free: 9.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3791, allocations: 0 / 0.5515 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004391/0.3796, allocations: 244.7 kB / 0.5518 GB, free: 8.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.3796, allocations: 83.3 kB / 0.5518 GB, free: 8.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3798, allocations: 131.2 kB / 0.552 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3798, allocations: 25.7 kB / 0.552 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3799, allocations: 96.02 kB / 0.5521 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3799, allocations: 22.42 kB / 0.5521 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.38, allocations: 20.09 kB / 0.5521 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3802, allocations: 326.5 kB / 0.5524 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.3803, allocations: 58.69 kB / 0.5525 GB, free: 8.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.3804, allocations: 66.75 kB / 0.5526 GB, free: 8.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3805, allocations: 151.3 kB / 0.5527 GB, free: 8.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3805, allocations: 4 kB / 0.5527 GB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002421/0.3808, allocations: 175.4 kB / 0.5529 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.3808, allocations: 41.62 kB / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3808, allocations: 0 / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3809, allocations: 1.125 kB / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3809, allocations: 0 / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3809, allocations: 1.188 kB / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.3809, allocations: 5.188 kB / 0.5529 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3809, allocations: 7.406 kB / 0.5529 GB, free: 7.84 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.0001597/0.3811, allocations: 159.6 kB / 0.5531 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.3811, allocations: 11.83 kB / 0.5531 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.3811, allocations: 6.281 kB / 0.5531 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3811, allocations: 1.469 kB / 0.5531 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3811, allocations: 0 / 0.5531 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3811, allocations: 0 / 0.5531 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3813, allocations: 150.9 kB / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3813, allocations: 0 / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.3813, allocations: 1.406 kB / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3813, allocations: 0 / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3813, allocations: 2.875 kB / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3813, allocations: 4 kB / 0.5532 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3813, allocations: 0 / 0.5532 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.3817, allocations: 259.8 kB / 0.5535 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3817, allocations: 7.391 kB / 0.5535 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3817, allocations: 9.891 kB / 0.5535 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.3817, allocations: 0.8438 kB / 0.5535 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.3817, allocations: 2.094 kB / 0.5535 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3818, allocations: 3.219 kB / 0.5535 GB, free: 7.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.649e-05/0.3818, allocations: 98.86 kB / 0.5536 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3818, allocations: 3.938 kB / 0.5536 GB, free: 7.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001518/0.3834, allocations: 323.4 kB / 0.5539 GB, free: 7.141 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.001937/0.3853, allocations: 1.053 MB / 0.555 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.3857, allocations: 246.2 kB / 0.5552 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3857, allocations: 4 kB / 0.5552 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3858, allocations: 153.2 kB / 0.5553 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3861, allocations: 9.406 kB / 0.5553 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.3882, allocations: 1.901 MB / 0.5572 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.3883, allocations: 79.31 kB / 0.5573 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.116e-05/0.3883, allocations: 0 / 0.5573 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.3884, allocations: 23.44 kB / 0.5573 GB, free: 3.918 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3884, allocations: 0 / 0.5573 GB, free: 3.918 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: 2.9859201830113307] Failed to read output from testmodel.py, exit status != 0: 0.4238866919768043 0.440426646 0.060108308000000006 Calling exit ...