Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002739/0.002743, allocations: 362 kB / 17.21 MB, free: 4.926 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.819/3.819, allocations: 388.9 MB / 406.8 MB, free: 12.02 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.003536/0.003536, allocations: 225.7 kB / 452.2 MB, free: 14.62 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.7274/0.7274, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09472, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009073/0.1038, allocations: 7.964 MB / 0.682 GB, free: 52.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.1083, allocations: 2.164 MB / 0.6841 GB, free: 50.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.109, allocations: 59.56 kB / 0.6842 GB, free: 50.6 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.1096, allocations: 206.6 kB / 0.6844 GB, free: 50.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.1113, allocations: 0.6061 MB / 0.685 GB, free: 49.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.1122, allocations: 271.5 kB / 0.6852 GB, free: 49.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1138, allocations: 1.523 MB / 0.6867 GB, free: 47.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.1143, allocations: 246.1 kB / 0.6869 GB, free: 47.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.1149, allocations: 457.7 kB / 0.6874 GB, free: 47.3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.116, allocations: 0.6386 MB / 0.688 GB, free: 46.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1161, allocations: 32 kB / 0.688 GB, free: 46.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1163, allocations: 36 kB / 0.6881 GB, free: 46.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.1166, allocations: 299.1 kB / 0.6884 GB, free: 46.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1168, allocations: 181.2 kB / 0.6885 GB, free: 46.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.1175, allocations: 0.6702 MB / 0.6892 GB, free: 45.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1175, allocations: 0 / 0.6892 GB, free: 45.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1176, allocations: 0 / 0.6892 GB, free: 45.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.1176, allocations: 0 / 0.6892 GB, free: 45.44 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00223/0.1198, allocations: 1.081 MB / 0.6902 GB, free: 44.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1199, allocations: 12.03 kB / 0.6903 GB, free: 44.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.1201, allocations: 94.86 kB / 0.6903 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.1215, allocations: 0.6438 MB / 0.691 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.1216, allocations: 57.25 kB / 0.691 GB, free: 43.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1217, allocations: 60 kB / 0.6911 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.1233, allocations: 0.806 MB / 0.6919 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.1233, allocations: 0 / 0.6919 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.1234, allocations: 28 kB / 0.6919 GB, free: 42.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.1235, allocations: 33.3 kB / 0.6919 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1249, allocations: 0.6101 MB / 0.6925 GB, free: 41.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.1292, allocations: 2.641 MB / 0.6951 GB, free: 39.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.1304, allocations: 0.6057 MB / 0.6957 GB, free: 38.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.1313, allocations: 367.2 kB / 0.696 GB, free: 38.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.1313, allocations: 4.438 kB / 0.696 GB, free: 38.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.1321, allocations: 494.9 kB / 0.6965 GB, free: 37.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.476e-06/0.1321, allocations: 0 / 0.6965 GB, free: 37.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.003664/0.1358, allocations: 1.977 MB / 0.6985 GB, free: 35.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1359, allocations: 243.9 kB / 0.6987 GB, free: 35.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.1366, allocations: 0.5624 MB / 0.6992 GB, free: 34.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.1366, allocations: 37.7 kB / 0.6993 GB, free: 34.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1369, allocations: 403.5 kB / 0.6997 GB, free: 34.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.1371, allocations: 197.2 kB / 0.6998 GB, free: 34.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.1372, allocations: 20 kB / 0.6999 GB, free: 34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1373, allocations: 382.8 kB / 0.7002 GB, free: 33.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.1378, allocations: 225.9 kB / 0.7004 GB, free: 33.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.1384, allocations: 457.8 kB / 0.7009 GB, free: 32.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.139, allocations: 337.5 kB / 0.7012 GB, free: 32.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1391, allocations: 11.89 kB / 0.7012 GB, free: 32.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00205/0.1411, allocations: 0.9441 MB / 0.7021 GB, free: 31.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.1412, allocations: 67.41 kB / 0.7022 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1412, allocations: 8 kB / 0.7022 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.1418, allocations: 109.9 kB / 0.7023 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.1427, allocations: 143.8 kB / 0.7024 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.1457, allocations: 3.004 MB / 0.7054 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.1464, allocations: 47.92 kB / 0.7054 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1466, allocations: 51.95 kB / 0.7055 GB, free: 27.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.1471, allocations: 362.6 kB / 0.7058 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1472, allocations: 71.16 kB / 0.7059 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.1487, allocations: 0.7857 MB / 0.7067 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.1488, allocations: 3.984 kB / 0.7067 GB, free: 26.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1488, allocations: 0 / 0.7067 GB, free: 26.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.1492, allocations: 188.1 kB / 0.7068 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.1493, allocations: 16 kB / 0.7069 GB, free: 26.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.1499, allocations: 35.97 kB / 0.7069 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.15, allocations: 36.34 kB / 0.7069 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002088/0.1521, allocations: 1.058 MB / 0.708 GB, free: 25.17 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002212/0.1543, allocations: 1.34 MB / 0.7093 GB, free: 23.8 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006182/0.155, allocations: 347.5 kB / 0.7096 GB, free: 23.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005919/0.1556, allocations: 391 kB / 0.71 GB, free: 23.08 MB / 442.7 MB Notification: Performance of Backend: time 1.022e-06/0.1556, allocations: 0 / 0.71 GB, free: 23.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.1579, allocations: 0.874 MB / 0.7108 GB, free: 22.16 MB / 442.7 MB Notification: Performance of SimCode: time 0.003648/0.1616, allocations: 2.282 MB / 0.7131 GB, free: 19.8 MB / 442.7 MB Notification: Performance of Templates: time 0.02046/0.1821, allocations: 7.501 MB / 0.7204 GB, free: 12.33 MB / 442.7 MB