Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002556/0.002556, allocations: 362.2 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.772/3.772, 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.003512/0.003512, allocations: 223.8 kB / 452.2 MB, free: 14.61 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.7519/0.7519, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004601, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09119, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01125/0.1025, allocations: 9.822 MB / 0.6838 GB, free: 50.97 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007699/0.1102, allocations: 3.508 MB / 0.6872 GB, free: 47.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.1115, allocations: 71.5 kB / 0.6873 GB, free: 47.38 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.1125, allocations: 286 kB / 0.6876 GB, free: 47.1 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.002569/0.1151, allocations: 0.7732 MB / 0.6883 GB, free: 46.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.1177, allocations: 0.7054 MB / 0.689 GB, free: 45.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.1202, allocations: 1.933 MB / 0.6909 GB, free: 43.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.1229, allocations: 1.321 MB / 0.6922 GB, free: 42.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1241, allocations: 0.5755 MB / 0.6928 GB, free: 41.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.1257, allocations: 0.9076 MB / 0.6937 GB, free: 40.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1258, allocations: 52 kB / 0.6937 GB, free: 40.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.1268, allocations: 327.3 kB / 0.694 GB, free: 40.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006221/0.1274, allocations: 0.6118 MB / 0.6946 GB, free: 39.83 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003353/0.1278, allocations: 269 kB / 0.6949 GB, free: 39.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.1294, allocations: 1.313 MB / 0.6962 GB, free: 38.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1294, allocations: 3.938 kB / 0.6962 GB, free: 38.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1294, allocations: 0 / 0.6962 GB, free: 38.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.1295, allocations: 0 / 0.6962 GB, free: 38.24 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003623/0.1331, allocations: 1.416 MB / 0.6975 GB, free: 36.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1332, allocations: 8.031 kB / 0.6975 GB, free: 36.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.1358, allocations: 286 kB / 0.6978 GB, free: 36.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1377, allocations: 0.8199 MB / 0.6986 GB, free: 35.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.1378, allocations: 86.33 kB / 0.6987 GB, free: 35.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.1383, allocations: 163.8 kB / 0.6989 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.1417, allocations: 1.827 MB / 0.7006 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.26e-05/0.1418, allocations: 7.938 kB / 0.7007 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.142, allocations: 52 kB / 0.7007 GB, free: 33.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004688/0.1425, allocations: 106.1 kB / 0.7008 GB, free: 33.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.1457, allocations: 1.464 MB / 0.7022 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.1572, allocations: 8.288 MB / 0.7103 GB, free: 23.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.159, allocations: 1.151 MB / 0.7114 GB, free: 21.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009383/0.16, allocations: 484.2 kB / 0.7119 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.1601, allocations: 20.62 kB / 0.7119 GB, free: 21.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1601, allocations: 43.22 kB / 0.712 GB, free: 21.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.656e-06/0.1601, allocations: 4 kB / 0.712 GB, free: 21.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.005339/0.1655, allocations: 2.386 MB / 0.7143 GB, free: 18.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1656, allocations: 89.75 kB / 0.7144 GB, free: 18.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.1667, allocations: 0.8134 MB / 0.7152 GB, free: 17.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.1668, allocations: 41.83 kB / 0.7152 GB, free: 17.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.1672, allocations: 0.6803 MB / 0.7159 GB, free: 17.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.1675, allocations: 307.7 kB / 0.7162 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.1676, allocations: 24 kB / 0.7162 GB, free: 16.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1678, allocations: 414.7 kB / 0.7166 GB, free: 16.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/0.1687, allocations: 439.7 kB / 0.717 GB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.17, allocations: 0.9968 MB / 0.718 GB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1713, allocations: 0.6274 MB / 0.7186 GB, free: 14.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.1714, allocations: 8 kB / 0.7186 GB, free: 14.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004243/0.1756, allocations: 1.744 MB / 0.7203 GB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1757, allocations: 12 kB / 0.7203 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002524/0.1782, allocations: 0.9692 MB / 0.7213 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.1795, allocations: 258.3 kB / 0.7215 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.1814, allocations: 311.5 kB / 0.7218 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.1866, allocations: 4.791 MB / 0.7265 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.1878, allocations: 55.98 kB / 0.7266 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.1879, allocations: 67.98 kB / 0.7266 GB, free: 5.469 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000732/0.1887, allocations: 440.9 kB / 0.727 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.1888, allocations: 94.78 kB / 0.7271 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.1909, allocations: 0.9375 MB / 0.728 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.1909, allocations: 3.984 kB / 0.728 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.191, allocations: 0 / 0.728 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.1912, allocations: 167.8 kB / 0.7282 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.1913, allocations: 23.98 kB / 0.7282 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.192, allocations: 23.94 kB / 0.7283 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1922, allocations: 52.92 kB / 0.7283 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003088/0.1953, allocations: 1.125 MB / 0.7294 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002711/0.198, allocations: 1.551 MB / 0.7309 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00073/0.1987, allocations: 403.8 kB / 0.7313 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008183/0.1996, allocations: 0.5341 MB / 0.7318 GB, free: 72 kB / 442.7 MB Notification: Performance of Backend: time 7.52e-07/0.1996, allocations: 0 / 0.7318 GB, free: 72 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2859/0.4855, allocations: 1.295 MB / 0.7331 GB, free: 127.6 MB / 442.7 MB Notification: Performance of SimCode: time 0.007122/0.4927, allocations: 3.558 MB / 0.7366 GB, free: 125.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04016/0.5329, allocations: 13.42 MB / 0.7497 GB, free: 125 MB / 442.7 MB