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.0008612/0.0008612, allocations: 91.66 kB / 20.95 MB, free: 3.602 MB / 18.57 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.0009337/0.0009337, allocations: 166 kB / 24.26 MB, free: 296 kB / 18.57 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 0.8967/0.8967, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2257/0.2257, allocations: 29.42 MB / 290.5 MB, free: 2.422 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.45e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003563/0.003588, allocations: 2.2 MB / 370.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.006459, allocations: 1.899 MB / 372.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.006521, allocations: 0 / 372.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.006714, allocations: 15.86 kB / 372.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.006816, allocations: 35.83 kB / 372.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.008957, allocations: 0.9584 MB / 373.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.009084, allocations: 79.62 kB / 373.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.009126, allocations: 4.188 kB / 373.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.009264, allocations: 47.83 kB / 373.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.009341, allocations: 43.88 kB / 373.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.009351, allocations: 0 / 373.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.01172, allocations: 1.898 MB / 375.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.01177, allocations: 19.92 kB / 375.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.0118, allocations: 15.86 kB / 375.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.01309, allocations: 1.473 MB / 377.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.0131, allocations: 0 / 377.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0131, allocations: 0 / 377.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.0131, allocations: 4 kB / 377.1 MB, free: 3.066 MB / 346.7 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.0005665/0.01367, allocations: 446.4 kB / 377.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.01371, allocations: 15.98 kB / 377.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.01374, allocations: 34.73 kB / 377.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.01379, allocations: 4.938 kB / 377.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.01391, allocations: 133.4 kB / 377.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.01392, allocations: 4 kB / 377.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.01393, allocations: 0 / 377.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.01406, allocations: 91.38 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.01406, allocations: 0 / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.01407, allocations: 4 kB / 377.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.01407, allocations: 0 / 377.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.01412, allocations: 69.61 kB / 377.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.01423, allocations: 140.6 kB / 378 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.01429, allocations: 76.27 kB / 378.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.01434, allocations: 66.56 kB / 378.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.01435, allocations: 0 / 378.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01437, allocations: 34.56 kB / 378.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.01437, allocations: 0 / 378.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002336/0.0146, allocations: 238.6 kB / 378.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.01464, allocations: 85.11 kB / 378.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.01471, allocations: 125.9 kB / 378.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.01472, allocations: 25.7 kB / 378.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.01475, allocations: 92.14 kB / 378.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.01478, allocations: 27.73 kB / 378.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.01481, allocations: 21.72 kB / 378.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.01488, allocations: 322.8 kB / 379.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.01492, allocations: 61.69 kB / 379.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.01495, allocations: 61.67 kB / 379.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.01505, allocations: 144.5 kB / 379.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01505, allocations: 3.938 kB / 379.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.01516, allocations: 181.1 kB / 379.5 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.0152, allocations: 45.67 kB / 379.6 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.0152, allocations: 0 / 379.6 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01521, allocations: 7.984 kB / 379.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.01522, allocations: 0 / 379.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01522, allocations: 0 / 379.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.01525, allocations: 0 / 379.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01527, allocations: 4 kB / 379.6 MB, free: 264 kB / 346.7 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 7.22e-05/0.01534, allocations: 163.5 kB / 379.8 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.01535, allocations: 11.95 kB / 379.8 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.01536, allocations: 8.469 kB / 379.8 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01536, allocations: 0 / 379.8 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01537, allocations: 0 / 379.8 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01537, allocations: 4 kB / 379.8 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.033e-05/0.01545, allocations: 136.7 kB / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01545, allocations: 4 kB / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.01545, allocations: 0 / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01546, allocations: 0 / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.01546, allocations: 4 kB / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01546, allocations: 3.938 kB / 379.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01547, allocations: 0 / 379.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.01565, allocations: 264.3 kB / 380.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.01566, allocations: 7.891 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01567, allocations: 4 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.01569, allocations: 0 / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.0157, allocations: 7.984 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01571, allocations: 4 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.01575, allocations: 99.27 kB / 380.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01575, allocations: 0 / 380.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.01628, allocations: 311.4 kB / 380.6 MB, free: 15.16 MB / 362.7 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.0009226/0.0172, allocations: 1.103 MB / 381.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.01739, allocations: 238.7 kB / 381.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01739, allocations: 0 / 381.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.394e-05/0.01747, allocations: 157 kB / 382.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.01768, allocations: 4 kB / 382.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01895, allocations: 1.913 MB / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.019, allocations: 79.31 kB / 384.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.494e-05/0.01901, allocations: 4 kB / 384.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.01905, allocations: 16.5 kB / 384.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01905, allocations: 0 / 384.1 MB, free: 11.43 MB / 362.7 MB [CodegenCFunctions.tpl:5760:13-5760: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: 1.6714368127286434] Failed to read output from testmodel.py, exit status != 0: 0.04050462692975998 0.054611919 0.038562226000000005 Calling exit ...