Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001317/0.001317, allocations: 113.2 kB / 20.44 MB, free: 1.324 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.001558/0.001558, allocations: 214 kB / 23.74 MB, free: 4.539 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.1926/0.1926, allocations: 38.52 MB / 352.4 MB, free: 12.55 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_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_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.002368/0.002368, allocations: 66.88 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3308, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004538/0.3353, allocations: 2.209 MB / 0.5442 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003634/0.3389, allocations: 2.106 MB / 0.5462 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.339, allocations: 0 / 0.5462 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.3392, allocations: 11.55 kB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3393, allocations: 29.52 kB / 0.5463 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.3424, allocations: 0.9841 MB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3426, allocations: 80.28 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.3426, allocations: 14.48 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3428, allocations: 46.61 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.3429, allocations: 42.38 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3429, allocations: 2.062 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.3473, allocations: 2.226 MB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.3474, allocations: 17.55 kB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3474, allocations: 14.53 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.3502, allocations: 1.37 MB / 0.5509 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3502, allocations: 0 / 0.5509 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3502, allocations: 1.125 kB / 0.5509 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3502, allocations: 0 / 0.5509 GB, free: 9.898 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.0008917/0.3511, allocations: 450.1 kB / 0.5514 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3511, allocations: 13.64 kB / 0.5514 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.3512, allocations: 32.25 kB / 0.5514 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3512, allocations: 11.91 kB / 0.5514 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3514, allocations: 125.8 kB / 0.5516 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3514, allocations: 0 / 0.5516 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.3514, allocations: 5.562 kB / 0.5516 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3516, allocations: 57.33 kB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3516, allocations: 0 / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3516, allocations: 0 / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3516, allocations: 1.594 kB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.3516, allocations: 18.58 kB / 0.5516 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.3518, allocations: 149.4 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.3519, allocations: 38.33 kB / 0.5518 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.3519, allocations: 28.81 kB / 0.5518 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3519, allocations: 9.484 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.352, allocations: 30.56 kB / 0.5519 GB, free: 8.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.352, allocations: 0 / 0.5519 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003118/0.3523, allocations: 150.5 kB / 0.552 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3523, allocations: 82.02 kB / 0.5521 GB, free: 8.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3525, allocations: 124.1 kB / 0.5522 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3525, allocations: 30.83 kB / 0.5522 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3525, allocations: 97.45 kB / 0.5523 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.3526, allocations: 27.39 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3526, allocations: 20.53 kB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3528, allocations: 325 kB / 0.5527 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.3528, allocations: 20.36 kB / 0.5527 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.3529, allocations: 23.58 kB / 0.5527 GB, free: 8.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.353, allocations: 122.6 kB / 0.5529 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.353, allocations: 4.031 kB / 0.5529 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001688/0.3532, allocations: 132.2 kB / 0.553 GB, free: 7.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.3532, allocations: 41.12 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3532, allocations: 1.406 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3532, allocations: 0 / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.3532, allocations: 1.125 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3532, allocations: 3.938 kB / 0.553 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.3533, allocations: 6.188 kB / 0.553 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3533, allocations: 11.2 kB / 0.553 GB, free: 7.93 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.000163/0.3535, allocations: 162.3 kB / 0.5532 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.3535, allocations: 8.297 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.3535, allocations: 5.5 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3535, allocations: 1.125 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3535, allocations: 0 / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3535, allocations: 1.188 kB / 0.5532 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3537, allocations: 154.3 kB / 0.5534 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3537, allocations: 0 / 0.5534 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3537, allocations: 1.031 kB / 0.5534 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3537, allocations: 0 / 0.5534 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3537, allocations: 3.406 kB / 0.5534 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3537, allocations: 4 kB / 0.5534 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3537, allocations: 0 / 0.5534 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.354, allocations: 220 kB / 0.5536 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.354, allocations: 6.203 kB / 0.5536 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.354, allocations: 2.219 kB / 0.5536 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.354, allocations: 5.156 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.354, allocations: 2.219 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3541, allocations: 3.438 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.23e-05/0.3541, allocations: 109.5 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3541, allocations: 3.938 kB / 0.5537 GB, free: 7.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3552, allocations: 319.3 kB / 0.554 GB, free: 7.266 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.00181/0.357, allocations: 1.017 MB / 0.555 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3573, allocations: 173 kB / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3573, allocations: 0 / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3574, allocations: 121.2 kB / 0.5553 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3576, allocations: 3.875 kB / 0.5553 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3598, allocations: 1.698 MB / 0.5569 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3601, allocations: 0.7041 MB / 0.5576 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.3601, allocations: 0 / 0.5576 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3602, allocations: 15.44 kB / 0.5577 GB, free: 3.988 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3602, allocations: 3.938 kB / 0.5577 GB, free: 3.984 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: 2.966009823838249] Failed to read output from testmodel.py, exit status != 0: 0.39423164003528655 0.41161917 0.058045552 Calling exit ...