Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001173/0.001173, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001026/0.001026, allocations: 165 kB / 24.56 MB, free: 24 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.9821/0.9821, allocations: 177.1 MB / 205 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] 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.2601/0.2601, allocations: 29.41 MB / 290.9 MB, free: 2.461 MB / 266.7 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.759e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002547/0.002574, allocations: 2.272 MB / 371.9 MB, free: 8.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.004857, allocations: 1.965 MB / 373.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.004921, allocations: 0 / 373.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.005053, allocations: 15.91 kB / 373.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.005141, allocations: 23.78 kB / 373.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.007334, allocations: 0.9778 MB / 374.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.00747, allocations: 83.62 kB / 375 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.007514, allocations: 4.188 kB / 375 MB, free: 5.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.007661, allocations: 43.89 kB / 375 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.007733, allocations: 39.88 kB / 375.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.007745, allocations: 0 / 375.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.01014, allocations: 1.898 MB / 377 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.01019, allocations: 23.92 kB / 377 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.01024, allocations: 7.938 kB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.01214, allocations: 1.496 MB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01214, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01214, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.01215, allocations: 0 / 378.5 MB, free: 2.117 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.0006432/0.01279, allocations: 0.5436 MB / 379 MB, free: 1.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01283, allocations: 15.98 kB / 379 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.01287, allocations: 8.891 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.013, allocations: 140.4 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.01301, allocations: 7.938 kB / 379.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.01302, allocations: 3.984 kB / 379.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.01314, allocations: 79.39 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01315, allocations: 4 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.01316, allocations: 0 / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01316, allocations: 0 / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.0132, allocations: 49.62 kB / 379.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.01331, allocations: 124.6 kB / 379.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.01337, allocations: 76.62 kB / 379.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.01341, allocations: 53.42 kB / 379.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-06/0.01341, allocations: 0 / 379.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01343, allocations: 41.38 kB / 379.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.42e-07/0.01343, allocations: 4 kB / 379.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002206/0.01366, allocations: 205.9 kB / 379.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.01369, allocations: 89.09 kB / 379.9 MB, free: 500 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.01378, allocations: 192.2 kB / 380.1 MB, free: 292 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.01379, allocations: 25.7 kB / 380.1 MB, free: 260 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.01384, allocations: 138.9 kB / 380.3 MB, free: 116 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.01388, allocations: 39.69 kB / 380.3 MB, free: 76 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.01391, allocations: 31.36 kB / 380.3 MB, free: 36 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01403, allocations: 0.4884 MB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.01407, allocations: 45.91 kB / 380.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.0141, allocations: 53.66 kB / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.01418, allocations: 111.1 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01418, allocations: 0 / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001262/0.0143, allocations: 156.9 kB / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.01435, allocations: 49.67 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01435, allocations: 0 / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01437, allocations: 4 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.01437, allocations: 4 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01437, allocations: 0 / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.01441, allocations: 3.938 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01443, allocations: 4 kB / 381.2 MB, free: 15.06 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 8.869e-05/0.01452, allocations: 210.3 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.01454, allocations: 15.89 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.01455, allocations: 12.77 kB / 381.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01455, allocations: 0 / 381.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.01456, allocations: 0 / 381.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01456, allocations: 3.938 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.334e-05/0.01463, allocations: 136.6 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01463, allocations: 0 / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-06/0.01464, allocations: 3.938 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01464, allocations: 0 / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01465, allocations: 8 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.01465, allocations: 0 / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01465, allocations: 0 / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.01482, allocations: 231.3 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.01483, allocations: 19.78 kB / 381.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.01485, allocations: 4 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.01487, allocations: 0 / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.01489, allocations: 8 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01489, allocations: 4 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.01494, allocations: 143.1 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01494, allocations: 0 / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007008/0.01564, allocations: 327.4 kB / 382.3 MB, free: 13.87 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.0007307/0.01637, allocations: 409.2 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.01658, allocations: 198.4 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01658, allocations: 0 / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.01665, allocations: 148.7 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.01682, allocations: 8.125 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.01748, allocations: 287.6 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01752, allocations: 71.33 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.516e-05/0.01754, allocations: 3.938 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.01756, allocations: 12.5 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01756, allocations: 0 / 383.5 MB, free: 12.64 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.87601882731542]