Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.002124/0.002124, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002/0.002, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1936/0.1936, allocations: 38.56 MB / 352.5 MB, free: 12.27 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002064/0.002064, allocations: 62.41 kB / 492.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3444, allocations: 62.47 MB / 0.542 GB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004149/0.3485, allocations: 2.197 MB / 0.5441 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.3521, allocations: 1.895 MB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.3522, allocations: 1.375 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3523, allocations: 9.297 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3524, allocations: 30.7 kB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.3553, allocations: 0.9576 MB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3554, allocations: 75.69 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3554, allocations: 14.83 kB / 0.547 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3556, allocations: 42.17 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.3557, allocations: 54.5 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3557, allocations: 2.312 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.359, allocations: 1.892 MB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.3591, allocations: 42.41 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.3592, allocations: 48.86 kB / 0.549 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.3612, allocations: 1.381 MB / 0.5504 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3612, allocations: 1.094 kB / 0.5504 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3612, allocations: 0 / 0.5504 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3612, allocations: 0 / 0.5504 GB, free: 10.22 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008641/0.3621, allocations: 0.5443 MB / 0.5509 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3621, allocations: 18.08 kB / 0.5509 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.3622, allocations: 48.11 kB / 0.551 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.3622, allocations: 19.64 kB / 0.551 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3625, allocations: 162 kB / 0.5512 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.3625, allocations: 0 / 0.5512 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3625, allocations: 1 kB / 0.5512 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.363, allocations: 235.7 kB / 0.5514 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.363, allocations: 3.938 kB / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.363, allocations: 1.125 kB / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.363, allocations: 0 / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3633, allocations: 200.2 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.3636, allocations: 185.5 kB / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3639, allocations: 211.9 kB / 0.552 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.3642, allocations: 204.6 kB / 0.5522 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3642, allocations: 0 / 0.5522 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.3643, allocations: 36.8 kB / 0.5522 GB, free: 8.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.72e-07/0.3643, allocations: 0 / 0.5522 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001377/0.3656, allocations: 0.7344 MB / 0.5529 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3658, allocations: 112.7 kB / 0.553 GB, free: 8.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.366, allocations: 168.6 kB / 0.5532 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.366, allocations: 30.7 kB / 0.5532 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3661, allocations: 106.2 kB / 0.5533 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3663, allocations: 138.5 kB / 0.5534 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.3664, allocations: 36.48 kB / 0.5535 GB, free: 7.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.3666, allocations: 339.4 kB / 0.5538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.3669, allocations: 195.1 kB / 0.554 GB, free: 7.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3672, allocations: 200.8 kB / 0.5542 GB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.3678, allocations: 468 kB / 0.5546 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3678, allocations: 0 / 0.5546 GB, free: 6.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000668/0.3685, allocations: 484.7 kB / 0.5551 GB, free: 6.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3686, allocations: 85.62 kB / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3686, allocations: 0 / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.3686, allocations: 8.062 kB / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3686, allocations: 0 / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3686, allocations: 0 / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/0.3687, allocations: 15.89 kB / 0.5552 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3688, allocations: 8 kB / 0.5552 GB, free: 6.359 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.0002956/0.3691, allocations: 235.4 kB / 0.5554 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.3691, allocations: 23.86 kB / 0.5554 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.3691, allocations: 10.66 kB / 0.5555 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3691, allocations: 4 kB / 0.5555 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3691, allocations: 0 / 0.5555 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3691, allocations: 7.984 kB / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3693, allocations: 196.4 kB / 0.5557 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3694, allocations: 0 / 0.5557 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.3694, allocations: 0 / 0.5557 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3694, allocations: 3.938 kB / 0.5557 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.3694, allocations: 15.94 kB / 0.5557 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3694, allocations: 4 kB / 0.5557 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3694, allocations: 0 / 0.5557 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.3704, allocations: 0.7967 MB / 0.5565 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.3704, allocations: 19.8 kB / 0.5565 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3704, allocations: 8 kB / 0.5565 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.3705, allocations: 8.031 kB / 0.5565 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3705, allocations: 8 kB / 0.5565 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3705, allocations: 8 kB / 0.5565 GB, free: 4.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3707, allocations: 128.2 kB / 0.5566 GB, free: 4.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 0.5566 GB, free: 4.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001248/0.3719, allocations: 359.3 kB / 0.557 GB, free: 4.457 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.002234/0.3741, allocations: 1.613 MB / 0.5585 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.3751, allocations: 0.7719 MB / 0.5593 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3751, allocations: 0 / 0.5593 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.3756, allocations: 444.8 kB / 0.5597 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3758, allocations: 20.72 kB / 0.5597 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.3806, allocations: 4.003 MB / 0.5636 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3808, allocations: 148.2 kB / 0.5638 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.3808, allocations: 0 / 0.5638 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3808, allocations: 43.42 kB / 0.5638 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3808, allocations: 0 / 0.5638 GB, free: 13.2 MB / 414.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.076440049801022] Failed to read output from testmodel.py, exit status != 0: 0.4256843030452728 0.44441296099999994 0.07950902800000001 Calling exit ...