Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00233/0.002335, allocations: 356 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.491/3.491, allocations: 388.9 MB / 406.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003453/0.003453, allocations: 229.6 kB / 451.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6129/0.6129, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06526/0.06568, allocations: 53.24 MB / 0.6736 GB, free: 60.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006152/0.07187, allocations: 6.736 MB / 0.6802 GB, free: 54.03 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.07564, allocations: 2.635 MB / 0.6828 GB, free: 51.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.07605, allocations: 39.69 kB / 0.6828 GB, free: 51.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.07646, allocations: 182.8 kB / 0.683 GB, free: 51.17 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.07776, allocations: 0.6921 MB / 0.6836 GB, free: 50.47 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.07868, allocations: 403.1 kB / 0.684 GB, free: 50.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.07997, allocations: 1.735 MB / 0.6857 GB, free: 48.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.08113, allocations: 0.7062 MB / 0.6864 GB, free: 47.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.08164, allocations: 477.8 kB / 0.6869 GB, free: 47.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.08268, allocations: 0.7907 MB / 0.6876 GB, free: 46.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.0828, allocations: 36 kB / 0.6877 GB, free: 46.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.0832, allocations: 187.6 kB / 0.6879 GB, free: 46.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004377/0.08365, allocations: 498.8 kB / 0.6883 GB, free: 45.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.08387, allocations: 205.1 kB / 0.6885 GB, free: 45.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.08472, allocations: 0.9859 MB / 0.6895 GB, free: 44.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.547e-06/0.08474, allocations: 4 kB / 0.6895 GB, free: 44.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.416e-06/0.08475, allocations: 0 / 0.6895 GB, free: 44.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.08477, allocations: 0 / 0.6895 GB, free: 44.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001709/0.08649, allocations: 1.147 MB / 0.6906 GB, free: 43.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.08653, allocations: 8.828 kB / 0.6906 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.08761, allocations: 206.5 kB / 0.6908 GB, free: 43.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.08868, allocations: 0.6541 MB / 0.6915 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.08874, allocations: 61.98 kB / 0.6915 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.08896, allocations: 95.94 kB / 0.6916 GB, free: 42.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.09074, allocations: 1.38 MB / 0.693 GB, free: 40.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.09079, allocations: 7.938 kB / 0.693 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.09089, allocations: 35.98 kB / 0.693 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.09115, allocations: 117.9 kB / 0.6931 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.09295, allocations: 1.077 MB / 0.6942 GB, free: 39.44 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.09921, allocations: 5.946 MB / 0.7 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1003, allocations: 0.6904 MB / 0.7006 GB, free: 32.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.1008, allocations: 323.2 kB / 0.701 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.1009, allocations: 8.547 kB / 0.701 GB, free: 32.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.1015, allocations: 472.6 kB / 0.7014 GB, free: 31.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=65): time 2.847e-06/0.1016, allocations: 0 / 0.7014 GB, free: 31.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.003304/0.1049, allocations: 2.136 MB / 0.7035 GB, free: 29.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.1049, allocations: 166.9 kB / 0.7037 GB, free: 29.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.1056, allocations: 0.6366 MB / 0.7043 GB, free: 28.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.1057, allocations: 37.7 kB / 0.7043 GB, free: 28.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.106, allocations: 0.5289 MB / 0.7048 GB, free: 28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1061, allocations: 228.8 kB / 0.7051 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.1062, allocations: 20 kB / 0.7051 GB, free: 27.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1063, allocations: 386.8 kB / 0.7054 GB, free: 27.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.1069, allocations: 334.4 kB / 0.7058 GB, free: 27.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/0.1077, allocations: 0.7658 MB / 0.7065 GB, free: 26.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.1084, allocations: 0.4956 MB / 0.707 GB, free: 25.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.716e-06/0.1084, allocations: 4 kB / 0.707 GB, free: 25.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002389/0.1108, allocations: 1.431 MB / 0.7084 GB, free: 24.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.1109, allocations: 45.88 kB / 0.7084 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.1124, allocations: 0.7742 MB / 0.7092 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.1133, allocations: 257.5 kB / 0.7094 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.114, allocations: 211.6 kB / 0.7096 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.118, allocations: 4.029 MB / 0.7136 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.1187, allocations: 63.94 kB / 0.7136 GB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.1188, allocations: 67.97 kB / 0.7137 GB, free: 18.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004711/0.1193, allocations: 403 kB / 0.7141 GB, free: 17.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.1194, allocations: 71.16 kB / 0.7141 GB, free: 17.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.1207, allocations: 0.8438 MB / 0.715 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-06/0.1208, allocations: 8 kB / 0.715 GB, free: 17.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.081e-06/0.1208, allocations: 0 / 0.715 GB, free: 17.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1208, allocations: 3.984 kB / 0.715 GB, free: 17.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.1234, allocations: 1.763 MB / 0.7167 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.836e-06/0.1234, allocations: 4 kB / 0.7167 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.1243, allocations: 143.8 kB / 0.7168 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-06/0.1243, allocations: 4 kB / 0.7169 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.1243, allocations: 19.98 kB / 0.7169 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1244, allocations: 7.938 kB / 0.7169 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1244, allocations: 7.953 kB / 0.7169 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.1261, allocations: 1.293 MB / 0.7181 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.1263, allocations: 196.2 kB / 0.7183 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1265, allocations: 23.98 kB / 0.7184 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.1269, allocations: 31.97 kB / 0.7184 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.127, allocations: 44.47 kB / 0.7184 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.1271, allocations: 43.95 kB / 0.7185 GB, free: 13.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.1275, allocations: 419 kB / 0.7189 GB, free: 12.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.1275, allocations: 0 / 0.7189 GB, free: 12.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008832/0.1284, allocations: 236 kB / 0.7191 GB, free: 12.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.1286, allocations: 125.7 kB / 0.7192 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.1302, allocations: 1.214 MB / 0.7204 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.305e-06/0.1303, allocations: 8.062 kB / 0.7204 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005728/0.1308, allocations: 454.3 kB / 0.7208 GB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.1317, allocations: 143.3 kB / 0.721 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.1348, allocations: 2.358 MB / 0.7233 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.1354, allocations: 1.13 MB / 0.7244 GB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.1363, allocations: 286.4 kB / 0.7247 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1365, allocations: 67.42 kB / 0.7247 GB, free: 6.793 MB / 442.7 MB Notification: Performance of SimCode: time 1.227e-06/0.1365, allocations: 0 / 0.7247 GB, free: 6.793 MB / 442.7 MB Notification: Performance of Templates: time 0.2339/0.3704, allocations: 7.794 MB / 0.7323 GB, free: 126.5 MB / 442.7 MB