Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001878/0.001878, allocations: 80.92 kB / 20.5 MB, free: 1.348 MB / 14.72 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.002228/0.002228, allocations: 158.7 kB / 23.74 MB, free: 4.523 MB / 14.72 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.543/1.543, allocations: 177.2 MB / 204.1 MB, free: 9.293 MB / 190.1 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.1774/0.1774, allocations: 29.43 MB / 289.9 MB, free: 3.406 MB / 270.1 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003885/0.003885, allocations: 66.09 kB / 430.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3292, allocations: 62.45 MB / 492.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.009505/0.3387, allocations: 5.306 MB / 498.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.3419, allocations: 1.313 MB / 499.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.3422, allocations: 27.75 kB / 499.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.3427, allocations: 131 kB / 499.7 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009771/0.3437, allocations: 398.1 kB / 0.4883 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.3441, allocations: 147.8 kB / 0.4885 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.345, allocations: 0.7748 MB / 0.4892 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.3453, allocations: 142.2 kB / 0.4894 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007461/0.3461, allocations: 486.3 kB / 0.4898 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.3467, allocations: 406.5 kB / 0.4902 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.3468, allocations: 36 kB / 0.4902 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3469, allocations: 40 kB / 0.4903 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.3471, allocations: 219.3 kB / 0.4905 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.3474, allocations: 222.9 kB / 0.4907 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.3482, allocations: 0.5912 MB / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3482, allocations: 0 / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3482, allocations: 0 / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3482, allocations: 0 / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00159/0.3498, allocations: 0.8317 MB / 0.4921 GB, free: 6.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3498, allocations: 15.98 kB / 0.4921 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.3499, allocations: 60.56 kB / 0.4922 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.3508, allocations: 449 kB / 0.4926 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.3508, allocations: 40.94 kB / 0.4926 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.3509, allocations: 39.98 kB / 0.4927 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3518, allocations: 0.5603 MB / 0.4932 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3518, allocations: 3.938 kB / 0.4932 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.3519, allocations: 20 kB / 0.4932 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.3519, allocations: 24.98 kB / 0.4933 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.3526, allocations: 417.3 kB / 0.4937 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.355, allocations: 1.691 MB / 0.4953 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.3557, allocations: 343.5 kB / 0.4956 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.3561, allocations: 199.4 kB / 0.4958 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3561, allocations: 4.25 kB / 0.4958 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.3565, allocations: 306.1 kB / 0.4961 GB, free: 2.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.3565, allocations: 0 / 0.4961 GB, free: 2.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002087/0.3586, allocations: 1.206 MB / 0.4973 GB, free: 1.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3588, allocations: 174.1 kB / 0.4975 GB, free: 1.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.3592, allocations: 401.8 kB / 0.4979 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3592, allocations: 37.83 kB / 0.4979 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.3595, allocations: 296.2 kB / 0.4982 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3596, allocations: 127 kB / 0.4983 GB, free: 184 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3598, allocations: 90.14 kB / 0.4984 GB, free: 88 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.36, allocations: 358.8 kB / 0.4987 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.3602, allocations: 150.6 kB / 0.4989 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.3606, allocations: 315.2 kB / 0.4992 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.3613, allocations: 489.3 kB / 0.4996 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3613, allocations: 0 / 0.4996 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008711/0.3622, allocations: 0.5468 MB / 0.5002 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3622, allocations: 41.62 kB / 0.5002 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3622, allocations: 4 kB / 0.5002 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3622, allocations: 8 kB / 0.5002 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3627, allocations: 108.5 kB / 0.5003 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.3627, allocations: 19.92 kB / 0.5003 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.3629, allocations: 19.98 kB / 0.5004 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.363, allocations: 31.98 kB / 0.5004 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0003019/0.3633, allocations: 247.3 kB / 0.5006 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.3633, allocations: 51.66 kB / 0.5007 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.3641, allocations: 485.1 kB / 0.5011 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3641, allocations: 4 kB / 0.5011 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3641, allocations: 3.938 kB / 0.5012 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3641, allocations: 3.984 kB / 0.5012 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3655, allocations: 0.8898 MB / 0.502 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3655, allocations: 4 kB / 0.502 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3658, allocations: 63.91 kB / 0.5021 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3658, allocations: 0 / 0.5021 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3659, allocations: 8 kB / 0.5021 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.3659, allocations: 7.984 kB / 0.5021 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3659, allocations: 0 / 0.5021 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.367, allocations: 0.7852 MB / 0.5029 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.3671, allocations: 59.69 kB / 0.5029 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.3672, allocations: 8 kB / 0.5029 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3674, allocations: 20.05 kB / 0.503 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.3675, allocations: 27.95 kB / 0.503 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3675, allocations: 27.97 kB / 0.503 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.3678, allocations: 271.1 kB / 0.5033 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 0.5033 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000455/0.3683, allocations: 100 kB / 0.5034 GB, free: 10.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001427/0.3684, allocations: 127.1 kB / 0.5035 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.3691, allocations: 462 kB / 0.5039 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3691, allocations: 0 / 0.5039 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.3695, allocations: 254.3 kB / 0.5042 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.3702, allocations: 101.8 kB / 0.5043 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.3718, allocations: 1.014 MB / 0.5053 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3721, allocations: 276.2 kB / 0.5055 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.3724, allocations: 92.31 kB / 0.5056 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.3725, allocations: 36.48 kB / 0.5056 GB, free: 8.195 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3725, allocations: 3.938 kB / 0.5056 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Templates: time 0.01034/0.3828, allocations: 4.344 MB / 0.5099 GB, free: 3.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.23160532861948] Failed to read output from testmodel.py, exit status != 0: 0.39656587690114975 0.41477718399999997 0.060883196 Calling exit ...