Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001218/0.001218, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00168/0.00168, allocations: 161 kB / 24.56 MB, free: 12 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.9741/0.9741, allocations: 177.1 MB / 205 MB, free: 5.625 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.2593/0.2593, allocations: 29.42 MB / 290.9 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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.134e-05, allocations: 2.312 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002769/0.0028, allocations: 2.266 MB / 371.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.005156, allocations: 1.964 MB / 373.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.005219, allocations: 0 / 373.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.005376, allocations: 15.91 kB / 373.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.005472, allocations: 27.72 kB / 373.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.007324, allocations: 0.974 MB / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.007439, allocations: 83.62 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.007485, allocations: 8.172 kB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.007628, allocations: 39.89 kB / 375 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.007701, allocations: 35.89 kB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.007713, allocations: 0 / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.009741, allocations: 1.898 MB / 377 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.00979, allocations: 19.92 kB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.009828, allocations: 19.94 kB / 377 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.01128, allocations: 1.488 MB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01129, allocations: 4 kB / 378.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01129, allocations: 0 / 378.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01129, allocations: 0 / 378.5 MB, free: 2.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005778/0.01187, allocations: 0.5514 MB / 379 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.01191, allocations: 15.98 kB / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.01196, allocations: 8.891 kB / 379.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.01212, allocations: 132.4 kB / 379.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.01213, allocations: 3.938 kB / 379.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.01214, allocations: 8 kB / 379.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.01228, allocations: 79.33 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.01228, allocations: 0 / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.0123, allocations: 4 kB / 379.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.0123, allocations: 0 / 379.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.01234, allocations: 45.69 kB / 379.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.01245, allocations: 124.6 kB / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.01252, allocations: 80.62 kB / 379.5 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.01256, allocations: 56.47 kB / 379.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.01256, allocations: 0 / 379.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.01259, allocations: 33.39 kB / 379.6 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01259, allocations: 4 kB / 379.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002425/0.01283, allocations: 206.7 kB / 379.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.01287, allocations: 89.09 kB / 379.9 MB, free: 476 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01302, allocations: 192.4 kB / 380.1 MB, free: 268 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.01304, allocations: 29.64 kB / 380.1 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.01308, allocations: 139.1 kB / 380.3 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01313, allocations: 39.67 kB / 380.3 MB, free: 48 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.01317, allocations: 35.3 kB / 380.3 MB, free: 4 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0133, allocations: 0.4962 MB / 380.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.01334, allocations: 41.7 kB / 380.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.01338, allocations: 49.72 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.141e-05/0.01346, allocations: 107.1 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01346, allocations: 4 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001346/0.01359, allocations: 156.9 kB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.01364, allocations: 45.67 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01364, allocations: 0 / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01366, allocations: 0 / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/0.01366, allocations: 3.938 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01367, allocations: 4 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.01371, allocations: 7.938 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01373, allocations: 4 kB / 381.2 MB, free: 15.03 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 9.155e-05/0.01382, allocations: 210.2 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.01384, allocations: 19.89 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.01386, allocations: 8.781 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01387, allocations: 0 / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01387, allocations: 4 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01387, allocations: 3.984 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.627e-05/0.01395, allocations: 124.6 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01395, allocations: 4 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/0.01395, allocations: 3.938 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.01395, allocations: 0 / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01396, allocations: 8 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01397, allocations: 0 / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01397, allocations: 0 / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.01415, allocations: 231.2 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.01416, allocations: 19.78 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01418, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.0142, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.01422, allocations: 8 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01423, allocations: 4 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.01428, allocations: 149.7 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01428, allocations: 0 / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006142/0.01489, allocations: 327.4 kB / 382.4 MB, free: 13.84 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.0007099/0.0156, allocations: 406.4 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.0158, allocations: 198.4 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01581, allocations: 4 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.01588, allocations: 136.8 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01606, allocations: 24.05 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.01666, allocations: 283.5 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.0167, allocations: 71.33 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.478e-05/0.01672, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.01673, allocations: 12.5 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01673, allocations: 0 / 383.5 MB, free: 12.61 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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.9138342295773327]