Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001836/0.001836, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00201/0.00201, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.3339/0.3339, allocations: 29.41 MB / 290.5 MB, free: 2.434 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.191e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003695/0.003727, allocations: 2.223 MB / 371.1 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.007312, allocations: 1.961 MB / 373.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.007374, allocations: 0 / 373.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.007527, allocations: 15.92 kB / 373.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.007756, allocations: 27.83 kB / 373.1 MB, free: 7.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.01052, allocations: 0.9739 MB / 374.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.01067, allocations: 75.64 kB / 374.2 MB, free: 6.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.01071, allocations: 4.172 kB / 374.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.01089, allocations: 51.83 kB / 374.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.01098, allocations: 43.88 kB / 374.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.011, allocations: 0 / 374.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.0144, allocations: 1.898 MB / 376.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.01448, allocations: 39.86 kB / 376.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.01453, allocations: 15.92 kB / 376.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.0168, allocations: 1.508 MB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.0168, allocations: 0 / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0168, allocations: 4 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.01681, allocations: 0 / 377.7 MB, free: 2.445 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008882/0.0177, allocations: 0.5976 MB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.01775, allocations: 15.98 kB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.01782, allocations: 12.84 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.01804, allocations: 140.4 kB / 378.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.01806, allocations: 12.36 kB / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.01807, allocations: 3.938 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.01827, allocations: 97.61 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01828, allocations: 3.938 kB / 378.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.01829, allocations: 4 kB / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.0183, allocations: 0 / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.01838, allocations: 57.69 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.01856, allocations: 140.5 kB / 378.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.0187, allocations: 88.95 kB / 378.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.01878, allocations: 65.61 kB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01879, allocations: 3.938 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.01883, allocations: 37.39 kB / 379 MB, free: 1.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 9.72e-07/0.01883, allocations: 4 kB / 379 MB, free: 1.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004762/0.01931, allocations: 294.5 kB / 379.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.01939, allocations: 97.12 kB / 379.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01957, allocations: 212.9 kB / 379.6 MB, free: 376 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.0196, allocations: 25.7 kB / 379.6 MB, free: 344 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.0197, allocations: 143.4 kB / 379.8 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.01979, allocations: 91.22 kB / 379.8 MB, free: 100 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.01985, allocations: 31.38 kB / 379.9 MB, free: 60 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004448/0.0203, allocations: 0.5079 MB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.02038, allocations: 65.55 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.02045, allocations: 57.69 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.02064, allocations: 161 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02064, allocations: 0 / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002803/0.02092, allocations: 222.4 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/0.021, allocations: 61.66 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.02101, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.02102, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.02102, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.02103, allocations: 0 / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.0211, allocations: 11.89 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.02113, allocations: 8 kB / 381 MB, free: 14.91 MB / 362.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 0.0001903/0.02132, allocations: 218.2 kB / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.02136, allocations: 27.84 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.02138, allocations: 13.31 kB / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02138, allocations: 3.984 kB / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.02139, allocations: 0 / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02139, allocations: 3.984 kB / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.02155, allocations: 148.6 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.02155, allocations: 0 / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.02155, allocations: 3.938 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.02156, allocations: 3.938 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.02158, allocations: 8 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.02158, allocations: 0 / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.02158, allocations: 4 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.02204, allocations: 331.5 kB / 381.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.02206, allocations: 15.84 kB / 381.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.02209, allocations: 7.938 kB / 381.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.02213, allocations: 4 kB / 381.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.02217, allocations: 8 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.02218, allocations: 4 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.0223, allocations: 155 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0223, allocations: 4 kB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.02323, allocations: 331.3 kB / 382.2 MB, free: 13.56 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.001037/0.02427, allocations: 425.2 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.02471, allocations: 310.3 kB / 382.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02472, allocations: 0 / 382.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.025, allocations: 216.7 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.02521, allocations: 15.5 kB / 383.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.0259, allocations: 404.3 kB / 383.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.02602, allocations: 105.8 kB / 383.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.236e-05/0.02604, allocations: 0 / 383.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.02606, allocations: 12.5 kB / 383.7 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02606, allocations: 0 / 383.7 MB, free: 12 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.6063505850033835]