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.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001534/0.001534, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1857/0.1857, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002406/0.002406, allocations: 71.89 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3514, allocations: 62.46 MB / 0.542 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004709/0.3561, allocations: 2.192 MB / 0.5441 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.3601, allocations: 1.902 MB / 0.546 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3602, allocations: 4.969 kB / 0.546 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3604, allocations: 10.23 kB / 0.546 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3605, allocations: 26.42 kB / 0.546 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.3641, allocations: 0.962 MB / 0.5469 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3643, allocations: 80.09 kB / 0.547 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.3644, allocations: 9.516 kB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.3646, allocations: 40.28 kB / 0.5471 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3648, allocations: 45.62 kB / 0.5471 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3648, allocations: 1.312 kB / 0.5471 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.3688, allocations: 1.894 MB / 0.5489 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3689, allocations: 22.33 kB / 0.549 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.369, allocations: 13.56 kB / 0.549 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.3715, allocations: 1.319 MB / 0.5503 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3715, allocations: 0 / 0.5503 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3715, allocations: 0 / 0.5503 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3715, allocations: 1.125 kB / 0.5503 GB, free: 10.19 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.0009525/0.3725, allocations: 444.3 kB / 0.5507 GB, free: 9.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3725, allocations: 12.83 kB / 0.5507 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3726, allocations: 37.22 kB / 0.5507 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.3726, allocations: 8.234 kB / 0.5507 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3728, allocations: 129.3 kB / 0.5509 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3728, allocations: 1.031 kB / 0.5509 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3728, allocations: 1.031 kB / 0.5509 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.373, allocations: 99.84 kB / 0.551 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.373, allocations: 0 / 0.551 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.373, allocations: 4.953 kB / 0.551 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.373, allocations: 0 / 0.551 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.3731, allocations: 59.97 kB / 0.551 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.3733, allocations: 140.6 kB / 0.5512 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3734, allocations: 79.75 kB / 0.5512 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3735, allocations: 71.02 kB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3735, allocations: 1.875 kB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.3735, allocations: 35.44 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3735, allocations: 3.938 kB / 0.5513 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003668/0.3739, allocations: 248 kB / 0.5516 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.374, allocations: 87.56 kB / 0.5517 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3741, allocations: 123.8 kB / 0.5518 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3741, allocations: 25.7 kB / 0.5518 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3743, allocations: 95.56 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.3743, allocations: 19.25 kB / 0.5519 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.3744, allocations: 24.45 kB / 0.5519 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3745, allocations: 324.9 kB / 0.5523 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.3746, allocations: 63.92 kB / 0.5523 GB, free: 8.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.3747, allocations: 59.22 kB / 0.5524 GB, free: 8.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3749, allocations: 150 kB / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3749, allocations: 4 kB / 0.5525 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.3751, allocations: 171.4 kB / 0.5527 GB, free: 7.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.3751, allocations: 41.38 kB / 0.5527 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3751, allocations: 2.125 kB / 0.5527 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3752, allocations: 0 / 0.5527 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.3752, allocations: 0 / 0.5527 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3752, allocations: 4.062 kB / 0.5527 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.3752, allocations: 11.36 kB / 0.5527 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3752, allocations: 9.516 kB / 0.5527 GB, free: 7.879 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.0001507/0.3754, allocations: 155.7 kB / 0.5529 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3754, allocations: 8.391 kB / 0.5529 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.3754, allocations: 9.734 kB / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3754, allocations: 1.438 kB / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3754, allocations: 0 / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3754, allocations: 0 / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3757, allocations: 142.8 kB / 0.5531 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3757, allocations: 4 kB / 0.5531 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3757, allocations: 5.344 kB / 0.5531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3757, allocations: 0 / 0.5531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3757, allocations: 2.969 kB / 0.5531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3757, allocations: 0 / 0.5531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3757, allocations: 5.391 kB / 0.5531 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3761, allocations: 259.3 kB / 0.5533 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.3762, allocations: 6.234 kB / 0.5533 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3762, allocations: 6.188 kB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.3762, allocations: 1.062 kB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.3762, allocations: 2.344 kB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3762, allocations: 6.844 kB / 0.5533 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.3763, allocations: 102.5 kB / 0.5534 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3763, allocations: 1.062 kB / 0.5534 GB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001184/0.3775, allocations: 318.3 kB / 0.5537 GB, free: 7.188 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.002003/0.3795, allocations: 1.05 MB / 0.5548 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.3798, allocations: 254.1 kB / 0.555 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3799, allocations: 8.094 kB / 0.555 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.38, allocations: 149.2 kB / 0.5552 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3803, allocations: 11.81 kB / 0.5552 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.3831, allocations: 1.903 MB / 0.557 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.3832, allocations: 79.33 kB / 0.5571 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.3832, allocations: 0 / 0.5571 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.3832, allocations: 19.53 kB / 0.5571 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3832, allocations: 0 / 0.5571 GB, free: 3.965 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.0257460977882147] Failed to read output from testmodel.py, exit status != 0: 0.419541509822011 0.43571331700000004 0.060984611 Calling exit ...