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.001047/0.001047, allocations: 88.33 kB / 20.95 MB, free: 3.469 MB / 18.57 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.001484/0.001484, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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.9204/0.9204, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.2222/0.2222, allocations: 29.42 MB / 290.5 MB, free: 2.441 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.148e-05, allocations: 2.312 kB / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002642/0.002663, allocations: 2.199 MB / 370.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.004802, allocations: 1.902 MB / 372.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.004861, allocations: 0 / 372.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.004989, allocations: 11.91 kB / 372.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.005072, allocations: 27.84 kB / 372.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.006908, allocations: 0.97 MB / 373.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.007015, allocations: 79.69 kB / 373.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.007059, allocations: 12.11 kB / 373.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.00718, allocations: 35.91 kB / 373.6 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.007247, allocations: 43.88 kB / 373.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.007257, allocations: 0 / 373.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.009244, allocations: 1.902 MB / 375.6 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.009297, allocations: 15.92 kB / 375.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.00934, allocations: 19.94 kB / 375.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.0114, allocations: 1.484 MB / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01141, allocations: 0 / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01141, allocations: 4 kB / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01142, allocations: 0 / 377.1 MB, free: 3.027 MB / 346.7 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.0007447/0.01216, allocations: 462.3 kB / 377.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.01221, allocations: 15.98 kB / 377.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.01224, allocations: 34.75 kB / 377.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.01228, allocations: 8.891 kB / 377.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.01242, allocations: 137.3 kB / 377.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.01243, allocations: 4 kB / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.01244, allocations: 0 / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.01259, allocations: 115.4 kB / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.0126, allocations: 0 / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.01261, allocations: 0 / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01262, allocations: 0 / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.01268, allocations: 77.67 kB / 377.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.01281, allocations: 148.6 kB / 378.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.0129, allocations: 100.2 kB / 378.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.01296, allocations: 82.78 kB / 378.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.01297, allocations: 0 / 378.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.01299, allocations: 42.5 kB / 378.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.01299, allocations: 0 / 378.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002845/0.01328, allocations: 302.2 kB / 378.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.01331, allocations: 89.05 kB / 378.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.01339, allocations: 136.3 kB / 378.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.0134, allocations: 25.7 kB / 378.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.01344, allocations: 96.12 kB / 378.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.01348, allocations: 35.69 kB / 379 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.01351, allocations: 25.7 kB / 379 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.0136, allocations: 326.8 kB / 379.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.01366, allocations: 81.7 kB / 379.4 MB, free: 500 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.01371, allocations: 77.67 kB / 379.5 MB, free: 416 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.01383, allocations: 180.1 kB / 379.7 MB, free: 220 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01383, allocations: 3.984 kB / 379.7 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001723/0.014, allocations: 209 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.01405, allocations: 53.61 kB / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01406, allocations: 0 / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01407, allocations: 0 / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.01408, allocations: 0 / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01408, allocations: 0 / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.01412, allocations: 8 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01414, allocations: 8.062 kB / 379.9 MB, free: 15.91 MB / 362.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 8.965e-05/0.01423, allocations: 167.5 kB / 380.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.01425, allocations: 15.94 kB / 380.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.01427, allocations: 12.78 kB / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01427, allocations: 0 / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01427, allocations: 0 / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01427, allocations: 0 / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.01436, allocations: 152.6 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01436, allocations: 0 / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.01436, allocations: 4 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01437, allocations: 11.98 kB / 380.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01438, allocations: 0 / 380.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01438, allocations: 7.938 kB / 380.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01438, allocations: 0 / 380.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.01465, allocations: 328.2 kB / 380.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.01466, allocations: 7.953 kB / 380.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.01467, allocations: 0 / 380.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.01469, allocations: 4 kB / 380.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.01471, allocations: 4 kB / 380.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.01472, allocations: 7.984 kB / 380.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.01477, allocations: 103.2 kB / 380.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01477, allocations: 4.031 kB / 380.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007735/0.01554, allocations: 323.3 kB / 381.1 MB, free: 14.69 MB / 362.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.001082/0.01662, allocations: 1.172 MB / 382.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01687, allocations: 314.6 kB / 382.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01687, allocations: 0 / 382.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.01697, allocations: 193 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01718, allocations: 15.53 kB / 382.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.01901, allocations: 2.177 MB / 384.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.01907, allocations: 87.31 kB / 385 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.01909, allocations: 4 kB / 385 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.01912, allocations: 20.5 kB / 385 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01912, allocations: 0 / 385 MB, free: 10.51 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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: 1.673722698003985]