Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.00171/0.00171, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002033/0.002033, allocations: 211 kB / 23.74 MB, free: 4.66 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1927/0.1927, allocations: 38.52 MB / 352.5 MB, free: 12.56 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.002051/0.002051, allocations: 71.89 kB / 492.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004236/0.3731, allocations: 2.255 MB / 0.5442 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.377, allocations: 2.113 MB / 0.5463 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.377, allocations: 5.406 kB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3772, allocations: 13.22 kB / 0.5463 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3773, allocations: 37.36 kB / 0.5463 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.3802, allocations: 0.9696 MB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3804, allocations: 94.36 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.3805, allocations: 10.08 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3806, allocations: 55.61 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3808, allocations: 57.28 kB / 0.5475 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3808, allocations: 7.094 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.3847, allocations: 2.175 MB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.3847, allocations: 35.05 kB / 0.5497 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.3848, allocations: 38.73 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.3869, allocations: 1.367 MB / 0.551 GB, free: 9.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3869, allocations: 0 / 0.551 GB, free: 9.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3869, allocations: 0 / 0.551 GB, free: 9.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3869, allocations: 1 kB / 0.551 GB, free: 9.871 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008055/0.3877, allocations: 495.6 kB / 0.5515 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3878, allocations: 13.23 kB / 0.5515 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.878e-05/0.3879, allocations: 53.95 kB / 0.5516 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3879, allocations: 19.8 kB / 0.5516 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3881, allocations: 152.3 kB / 0.5517 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3882, allocations: 10.81 kB / 0.5517 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3882, allocations: 12.53 kB / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3885, allocations: 117.6 kB / 0.5519 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3885, allocations: 3.984 kB / 0.5519 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3885, allocations: 5.469 kB / 0.5519 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3885, allocations: 1.438 kB / 0.5519 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3886, allocations: 69.66 kB / 0.5519 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3891, allocations: 334.5 kB / 0.5523 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3892, allocations: 62.3 kB / 0.5523 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.3893, allocations: 47.42 kB / 0.5524 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3893, allocations: 3.938 kB / 0.5524 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3893, allocations: 31.72 kB / 0.5524 GB, free: 8.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3893, allocations: 1.125 kB / 0.5524 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004116/0.3898, allocations: 224 kB / 0.5526 GB, free: 8.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.3898, allocations: 84.95 kB / 0.5527 GB, free: 8.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.39, allocations: 159 kB / 0.5528 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.39, allocations: 25.7 kB / 0.5529 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.3901, allocations: 127.1 kB / 0.553 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.3901, allocations: 41.08 kB / 0.553 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.3902, allocations: 22.12 kB / 0.553 GB, free: 8.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3903, allocations: 322.7 kB / 0.5534 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.3904, allocations: 38 kB / 0.5534 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.3905, allocations: 43.56 kB / 0.5534 GB, free: 7.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.3907, allocations: 180.7 kB / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3907, allocations: 0 / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.391, allocations: 182.8 kB / 0.5538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.391, allocations: 51.64 kB / 0.5538 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.391, allocations: 1.094 kB / 0.5538 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3911, allocations: 0 / 0.5538 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.3911, allocations: 1.062 kB / 0.5538 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3911, allocations: 0 / 0.5538 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.3911, allocations: 11.14 kB / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3911, allocations: 4.469 kB / 0.5538 GB, free: 7.496 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.0001647/0.3913, allocations: 180.8 kB / 0.554 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.3914, allocations: 11.39 kB / 0.554 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.3914, allocations: 11.98 kB / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3914, allocations: 1.062 kB / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3914, allocations: 0 / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3914, allocations: 0 / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.3916, allocations: 183.9 kB / 0.5542 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3916, allocations: 1.062 kB / 0.5542 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-06/0.3916, allocations: 3.984 kB / 0.5542 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3916, allocations: 0 / 0.5542 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3917, allocations: 8.625 kB / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3917, allocations: 0 / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3917, allocations: 0 / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.3921, allocations: 378.7 kB / 0.5546 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.3921, allocations: 11.17 kB / 0.5546 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3922, allocations: 6.281 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3922, allocations: 2.531 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.3923, allocations: 2.594 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3923, allocations: 12.53 kB / 0.5546 GB, free: 6.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3924, allocations: 122.8 kB / 0.5547 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 0.5547 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001328/0.3937, allocations: 339.6 kB / 0.5551 GB, free: 6.68 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.001947/0.3956, allocations: 1.284 MB / 0.5563 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.396, allocations: 239.2 kB / 0.5566 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.396, allocations: 0 / 0.5566 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.3962, allocations: 167.3 kB / 0.5567 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3965, allocations: 10.81 kB / 0.5567 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3993, allocations: 2.323 MB / 0.559 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3997, allocations: 0.7275 MB / 0.5597 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.3997, allocations: 4 kB / 0.5597 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.3997, allocations: 35.42 kB / 0.5597 GB, free: 1.898 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3997, allocations: 0 / 0.5597 GB, free: 1.898 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.2232833499947446] Failed to read output from testmodel.py, exit status != 0: 0.43776940400130115 0.456367117 0.0648291 Calling exit ...