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.0007996/0.0007996, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001446/0.001446, allocations: 162 kB / 24.99 MB, free: 9.32 MB / 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.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2395/0.2395, allocations: 29.42 MB / 291.2 MB, free: 2.52 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.643e-06/1.643e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.368e-05, allocations: 5.266 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002821/0.002844, allocations: 2.262 MB / 371.9 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.005092, allocations: 1.957 MB / 373.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.005145, allocations: 0 / 373.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.005251, allocations: 11.92 kB / 373.9 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.00532, allocations: 39.7 kB / 373.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.006968, allocations: 0.9701 MB / 374.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.00707, allocations: 79.62 kB / 375 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.007108, allocations: 192 / 375 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.007222, allocations: 39.89 kB / 375 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.007285, allocations: 47.88 kB / 375 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.007296, allocations: 4 kB / 375 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.009343, allocations: 1.894 MB / 376.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.009393, allocations: 19.92 kB / 377 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.009431, allocations: 15.94 kB / 377 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.01093, allocations: 1.484 MB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01093, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01093, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01094, allocations: 4 kB / 378.5 MB, free: 2.426 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.000528/0.01147, allocations: 0.5592 MB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01151, allocations: 11.98 kB / 379 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.01156, allocations: 8.891 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.0117, allocations: 132.4 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.01172, allocations: 7.938 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.01173, allocations: 0 / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.01186, allocations: 83.38 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.01186, allocations: 0 / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.01187, allocations: 0 / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.01188, allocations: 7.938 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.01192, allocations: 45.7 kB / 379.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.01203, allocations: 124.6 kB / 379.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.01209, allocations: 76.69 kB / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.01213, allocations: 53.41 kB / 379.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.01214, allocations: 0 / 379.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.01216, allocations: 37.39 kB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01216, allocations: 0 / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002378/0.0124, allocations: 210.1 kB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.01244, allocations: 85.11 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.01254, allocations: 193.9 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.01255, allocations: 25.7 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.0126, allocations: 142.9 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.01264, allocations: 35.7 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.01268, allocations: 31.36 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01282, allocations: 0.4964 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.01286, allocations: 45.64 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.01289, allocations: 45.69 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.01297, allocations: 119.1 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01298, allocations: 0 / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001227/0.0131, allocations: 156.9 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.01314, allocations: 48.25 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01314, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01316, allocations: 7.984 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.01316, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01316, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.0132, allocations: 7.938 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.01322, allocations: 11.98 kB / 381.2 MB, free: 15.35 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.465e-05/0.01331, allocations: 194.3 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.01332, allocations: 15.89 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.01334, allocations: 16.77 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01334, allocations: 7.938 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01334, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01335, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.548e-05/0.01342, allocations: 128.6 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01342, allocations: 0 / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.01343, allocations: 3.938 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.01343, allocations: 0 / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.01344, allocations: 7.984 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.01344, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01344, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.01362, allocations: 227 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.01363, allocations: 27.81 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.01364, allocations: 4 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.78e-05/0.01366, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.01368, allocations: 7.984 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01369, allocations: 4 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.01373, allocations: 143.1 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01373, allocations: 0 / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.01432, allocations: 319.4 kB / 382.3 MB, free: 14.18 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.0006772/0.015, allocations: 418.1 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.01519, allocations: 202.4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01519, allocations: 4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.01526, allocations: 140.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.01542, allocations: 12 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.01597, allocations: 287.7 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.01601, allocations: 71.28 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.277e-05/0.01602, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.01604, allocations: 12.5 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01604, allocations: 0 / 383.4 MB, free: 12.95 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.8509190129116178]