Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001615/0.001615, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002241/0.002241, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.567/1.567, 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.1869/0.1869, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_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.002045/0.002045, allocations: 67.89 kB / 492.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 62.48 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003408/0.3632, allocations: 2.206 MB / 0.5442 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.3664, allocations: 2.106 MB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.3665, allocations: 0 / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3666, allocations: 14.58 kB / 0.5462 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.3667, allocations: 35.2 kB / 0.5463 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.3692, allocations: 0.9835 MB / 0.5472 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3693, allocations: 76.16 kB / 0.5473 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.3694, allocations: 10.3 kB / 0.5473 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3695, allocations: 46.92 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.3696, allocations: 46.5 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3696, allocations: 5.094 kB / 0.5474 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.3731, allocations: 2.226 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.3732, allocations: 17.52 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.3732, allocations: 15.25 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.3752, allocations: 1.365 MB / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3752, allocations: 1.375 kB / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3752, allocations: 0 / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3752, allocations: 4 kB / 0.551 GB, free: 9.875 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.0007239/0.3759, allocations: 449.2 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.376, allocations: 13.84 kB / 0.5514 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.376, allocations: 32.69 kB / 0.5514 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.376, allocations: 8.234 kB / 0.5514 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3762, allocations: 124.7 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3762, allocations: 1.062 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3762, allocations: 1.031 kB / 0.5516 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3764, allocations: 57.05 kB / 0.5516 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3764, allocations: 4 kB / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3764, allocations: 1.438 kB / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3764, allocations: 0 / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.3765, allocations: 23.48 kB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.3766, allocations: 145.2 kB / 0.5518 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.3767, allocations: 38.88 kB / 0.5518 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.3767, allocations: 24.06 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.3768, allocations: 1.094 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3768, allocations: 38.56 kB / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.3768, allocations: 1.062 kB / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000288/0.3771, allocations: 153.5 kB / 0.552 GB, free: 8.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3771, allocations: 82.55 kB / 0.5521 GB, free: 8.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3773, allocations: 127.6 kB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3773, allocations: 26.83 kB / 0.5523 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3773, allocations: 90.52 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.3774, allocations: 31.05 kB / 0.5524 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3774, allocations: 20.41 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3776, allocations: 324.7 kB / 0.5527 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.3776, allocations: 19.55 kB / 0.5527 GB, free: 8.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.3777, allocations: 23.61 kB / 0.5527 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3778, allocations: 127.4 kB / 0.5529 GB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3778, allocations: 0 / 0.5529 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001638/0.378, allocations: 136.2 kB / 0.553 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.378, allocations: 43.75 kB / 0.553 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.378, allocations: 5.688 kB / 0.553 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.378, allocations: 0 / 0.553 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.378, allocations: 0 / 0.553 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.378, allocations: 0 / 0.553 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.3781, allocations: 10.2 kB / 0.553 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3781, allocations: 7.406 kB / 0.5531 GB, free: 7.918 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.0001348/0.3782, allocations: 158.2 kB / 0.5532 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3782, allocations: 8.266 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.3783, allocations: 6.531 kB / 0.5532 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3783, allocations: 4 kB / 0.5532 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3783, allocations: 1.156 kB / 0.5532 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3783, allocations: 0 / 0.5532 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3784, allocations: 151.5 kB / 0.5534 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3784, allocations: 4 kB / 0.5534 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3784, allocations: 0 / 0.5534 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3784, allocations: 1.094 kB / 0.5534 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3784, allocations: 2.219 kB / 0.5534 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3784, allocations: 1.094 kB / 0.5534 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3784, allocations: 3.938 kB / 0.5534 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3787, allocations: 223.1 kB / 0.5536 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.3788, allocations: 7.484 kB / 0.5536 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3788, allocations: 1.156 kB / 0.5536 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.3788, allocations: 2.062 kB / 0.5536 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.3788, allocations: 2.125 kB / 0.5536 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3788, allocations: 2.25 kB / 0.5536 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.3789, allocations: 102.9 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3789, allocations: 0 / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001135/0.38, allocations: 323.3 kB / 0.554 GB, free: 7.258 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.001425/0.3815, allocations: 1.027 MB / 0.555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.3818, allocations: 173.3 kB / 0.5552 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3818, allocations: 0 / 0.5552 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3819, allocations: 121.6 kB / 0.5553 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3822, allocations: 4.5 kB / 0.5553 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3843, allocations: 1.699 MB / 0.557 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3846, allocations: 0.7001 MB / 0.5576 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.3847, allocations: 0 / 0.5576 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.3847, allocations: 23.47 kB / 0.5577 GB, free: 3.973 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3847, allocations: 0 / 0.5577 GB, free: 3.973 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.151705364929512] Failed to read output from testmodel.py, exit status != 0: 0.41975060384720564 0.43526334800000005 0.056708224 Calling exit ...