Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001759/0.001759, allocations: 115.8 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.002444/0.002444, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.193/0.193, allocations: 38.53 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.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002163/0.002163, allocations: 63.91 kB / 492.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3083, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003515/0.3118, allocations: 2.217 MB / 0.5442 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.3151, allocations: 2.097 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.3152, allocations: 5.875 kB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.3153, allocations: 13.83 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.3154, allocations: 25.8 kB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.3181, allocations: 0.9799 MB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3182, allocations: 80.16 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3183, allocations: 11.7 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3184, allocations: 42.02 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.3185, allocations: 53.05 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3185, allocations: 2.188 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.3221, allocations: 2.234 MB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3222, allocations: 32.55 kB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.3223, allocations: 37.64 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3242, allocations: 1.392 MB / 0.551 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3242, allocations: 1.312 kB / 0.551 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3242, allocations: 4 kB / 0.551 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3242, allocations: 0 / 0.551 GB, free: 9.852 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006943/0.3249, allocations: 0.4955 MB / 0.5515 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3249, allocations: 13.36 kB / 0.5515 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.325, allocations: 42.78 kB / 0.5516 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.325, allocations: 14.69 kB / 0.5516 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3252, allocations: 153.2 kB / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3252, allocations: 1.594 kB / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3252, allocations: 0 / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3254, allocations: 99.75 kB / 0.5518 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3254, allocations: 3.984 kB / 0.5518 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3254, allocations: 1.094 kB / 0.5518 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3254, allocations: 0 / 0.5518 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.3255, allocations: 65 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3257, allocations: 160.9 kB / 0.552 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3258, allocations: 77.55 kB / 0.5521 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.3259, allocations: 66.39 kB / 0.5522 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.3259, allocations: 4 kB / 0.5522 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3259, allocations: 31.75 kB / 0.5522 GB, free: 8.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.042e-06/0.3259, allocations: 0 / 0.5522 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005206/0.3264, allocations: 326.7 kB / 0.5525 GB, free: 8.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.3265, allocations: 99.03 kB / 0.5526 GB, free: 8.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3267, allocations: 150.3 kB / 0.5528 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3267, allocations: 26.95 kB / 0.5528 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.3268, allocations: 101.1 kB / 0.5529 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.3268, allocations: 79.92 kB / 0.553 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3269, allocations: 29.92 kB / 0.553 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3271, allocations: 331.6 kB / 0.5533 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.3271, allocations: 60.78 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.3272, allocations: 61.94 kB / 0.5534 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.3275, allocations: 253.9 kB / 0.5537 GB, free: 7.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3275, allocations: 0 / 0.5537 GB, free: 7.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002873/0.3278, allocations: 237 kB / 0.5539 GB, free: 7.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.3278, allocations: 71.97 kB / 0.554 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3278, allocations: 1.125 kB / 0.554 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3279, allocations: 0 / 0.554 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3279, allocations: 3.938 kB / 0.554 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3279, allocations: 1.156 kB / 0.554 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.3279, allocations: 12.48 kB / 0.554 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.3279, allocations: 7.125 kB / 0.554 GB, free: 7.527 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.0001863/0.3281, allocations: 193.7 kB / 0.5542 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3282, allocations: 22.17 kB / 0.5542 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.3282, allocations: 15.75 kB / 0.5542 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3282, allocations: 1.188 kB / 0.5542 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3282, allocations: 0 / 0.5542 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3282, allocations: 0 / 0.5542 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3284, allocations: 179.6 kB / 0.5544 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3284, allocations: 3.984 kB / 0.5544 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.3284, allocations: 0 / 0.5544 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3284, allocations: 1.188 kB / 0.5544 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3284, allocations: 4.469 kB / 0.5544 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3284, allocations: 5.125 kB / 0.5544 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3284, allocations: 0 / 0.5544 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.329, allocations: 0.5241 MB / 0.5549 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.329, allocations: 17.31 kB / 0.5549 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.329, allocations: 3.312 kB / 0.5549 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.3291, allocations: 4.375 kB / 0.5549 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.3291, allocations: 6.156 kB / 0.5549 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3291, allocations: 6.469 kB / 0.5549 GB, free: 6.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.3292, allocations: 116.3 kB / 0.555 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3292, allocations: 4.031 kB / 0.555 GB, free: 6.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.3301, allocations: 339.4 kB / 0.5554 GB, free: 6.496 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.0018/0.3319, allocations: 1.339 MB / 0.5567 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.3325, allocations: 459.1 kB / 0.5571 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3325, allocations: 0 / 0.5571 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.3329, allocations: 319.2 kB / 0.5574 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3331, allocations: 14.97 kB / 0.5574 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3362, allocations: 2.675 MB / 0.56 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3366, allocations: 0.7316 MB / 0.5608 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.319e-05/0.3366, allocations: 4 kB / 0.5608 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.3366, allocations: 35.42 kB / 0.5608 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3366, allocations: 0 / 0.5608 GB, free: 0.7695 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.0446431870004744] Failed to read output from testmodel.py, exit status != 0: 0.372437934995105 0.39129300799999994 0.063531066 Calling exit ...