Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001887/0.001887, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002127/0.002127, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1884/0.1884, allocations: 38.56 MB / 352.5 MB, free: 12.44 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.002311/0.002311, allocations: 67.89 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3278, allocations: 62.47 MB / 0.542 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003919/0.3317, allocations: 2.185 MB / 0.5441 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3355, allocations: 1.899 MB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3356, allocations: 3.938 kB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3357, allocations: 10.42 kB / 0.546 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3358, allocations: 30.05 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.3385, allocations: 0.9654 MB / 0.5469 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3387, allocations: 74.66 kB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.3387, allocations: 11.45 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3389, allocations: 37.84 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.3389, allocations: 50.72 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.339, allocations: 2.344 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.3423, allocations: 1.889 MB / 0.5489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3424, allocations: 17.39 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.3424, allocations: 28.77 kB / 0.549 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.3444, allocations: 1.323 MB / 0.5503 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3444, allocations: 3.938 kB / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3444, allocations: 0 / 0.5503 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3444, allocations: 1.375 kB / 0.5503 GB, free: 10.33 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006892/0.3451, allocations: 457.1 kB / 0.5507 GB, free: 9.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3451, allocations: 18.02 kB / 0.5507 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.3452, allocations: 40.55 kB / 0.5508 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3452, allocations: 9.859 kB / 0.5508 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3454, allocations: 133.9 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3454, allocations: 1.281 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.3454, allocations: 1.219 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3456, allocations: 120.3 kB / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3456, allocations: 0 / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.3456, allocations: 1.156 kB / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3456, allocations: 3.938 kB / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.3457, allocations: 78.77 kB / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.3459, allocations: 151.7 kB / 0.5513 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.346, allocations: 99.02 kB / 0.5513 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.3461, allocations: 87 kB / 0.5514 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3461, allocations: 5.297 kB / 0.5514 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3461, allocations: 35.47 kB / 0.5515 GB, free: 9.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.3461, allocations: 1.375 kB / 0.5515 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004127/0.3465, allocations: 298.2 kB / 0.5518 GB, free: 9.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3466, allocations: 88.81 kB / 0.5518 GB, free: 8.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3467, allocations: 132.1 kB / 0.552 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3467, allocations: 25.7 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.3468, allocations: 99.81 kB / 0.5521 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.3469, allocations: 36.47 kB / 0.5521 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.3469, allocations: 25.98 kB / 0.5521 GB, free: 8.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3471, allocations: 325.9 kB / 0.5525 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.3472, allocations: 78.77 kB / 0.5525 GB, free: 8.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.3472, allocations: 79.73 kB / 0.5526 GB, free: 8.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.3474, allocations: 190.6 kB / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3474, allocations: 0 / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002492/0.3477, allocations: 210.2 kB / 0.553 GB, free: 7.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.3477, allocations: 51.61 kB / 0.553 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3478, allocations: 9.562 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3478, allocations: 0 / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-06/0.3478, allocations: 4 kB / 0.553 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3478, allocations: 1.531 kB / 0.5531 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3478, allocations: 10.83 kB / 0.5531 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3478, allocations: 2.906 kB / 0.5531 GB, free: 7.898 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.0001375/0.348, allocations: 169.3 kB / 0.5532 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.348, allocations: 9.703 kB / 0.5532 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.348, allocations: 7.688 kB / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.348, allocations: 0 / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.348, allocations: 4 kB / 0.5532 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.348, allocations: 5.344 kB / 0.5533 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3482, allocations: 145.2 kB / 0.5534 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3482, allocations: 5.344 kB / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3482, allocations: 0 / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3482, allocations: 0 / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3482, allocations: 4.125 kB / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3482, allocations: 0 / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3482, allocations: 0 / 0.5534 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.3486, allocations: 330.2 kB / 0.5537 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.3486, allocations: 14.3 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3486, allocations: 7.344 kB / 0.5537 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.3487, allocations: 6.156 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.3487, allocations: 2.281 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3487, allocations: 11.2 kB / 0.5538 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.3488, allocations: 101 kB / 0.5538 GB, free: 7.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3488, allocations: 0 / 0.5538 GB, free: 7.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3498, allocations: 329 kB / 0.5542 GB, free: 7.168 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.001584/0.3514, allocations: 1.128 MB / 0.5553 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.3518, allocations: 310.7 kB / 0.5556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3518, allocations: 0 / 0.5556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.352, allocations: 189 kB / 0.5557 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3522, allocations: 19.88 kB / 0.5558 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3547, allocations: 2.196 MB / 0.5579 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.3548, allocations: 91.75 kB / 0.558 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.153e-05/0.3548, allocations: 0 / 0.558 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3548, allocations: 27.42 kB / 0.558 GB, free: 3.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3548, allocations: 0 / 0.558 GB, free: 3.207 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: 3.0485061490908265] Failed to read output from testmodel.py, exit status != 0: 0.38827708223834634 0.405746191 0.057946614 Calling exit ...