Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002786/0.002786, allocations: 361.6 kB / 17.21 MB, free: 4.93 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.82/3.82, allocations: 388.9 MB / 406.8 MB, free: 12 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.003564/0.003564, allocations: 231.8 kB / 452.3 MB, free: 14.6 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.7318/0.7318, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09099, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006435/0.09748, allocations: 5.318 MB / 0.6794 GB, free: 55.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.1017, allocations: 1.915 MB / 0.6813 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.1023, allocations: 35.69 kB / 0.6813 GB, free: 53.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.1028, allocations: 139.1 kB / 0.6815 GB, free: 53.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.1039, allocations: 350 kB / 0.6818 GB, free: 53.04 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1052, allocations: 335.3 kB / 0.6821 GB, free: 52.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1062, allocations: 0.8649 MB / 0.683 GB, free: 51.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1074, allocations: 0.5669 MB / 0.6835 GB, free: 51.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.1079, allocations: 274.9 kB / 0.6838 GB, free: 50.97 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.1087, allocations: 458.7 kB / 0.6842 GB, free: 50.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.1088, allocations: 28 kB / 0.6842 GB, free: 50.49 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.1092, allocations: 115.7 kB / 0.6843 GB, free: 50.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.1095, allocations: 259.3 kB / 0.6846 GB, free: 50.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1096, allocations: 137.4 kB / 0.6847 GB, free: 49.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.1103, allocations: 0.6001 MB / 0.6853 GB, free: 49.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1104, allocations: 0 / 0.6853 GB, free: 49.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1104, allocations: 4 kB / 0.6853 GB, free: 49.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1104, allocations: 0 / 0.6853 GB, free: 49.38 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001913/0.1123, allocations: 0.8083 MB / 0.6861 GB, free: 48.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1124, allocations: 8.031 kB / 0.6861 GB, free: 48.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.1139, allocations: 147 kB / 0.6863 GB, free: 48.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.115, allocations: 0.4953 MB / 0.6867 GB, free: 47.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.1151, allocations: 36.95 kB / 0.6868 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005709/0.1157, allocations: 131.8 kB / 0.6869 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1173, allocations: 0.8548 MB / 0.6877 GB, free: 46.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1173, allocations: 7.938 kB / 0.6877 GB, free: 46.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.1174, allocations: 16 kB / 0.6878 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007958/0.1182, allocations: 68.94 kB / 0.6878 GB, free: 46.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.1196, allocations: 0.6127 MB / 0.6884 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.1255, allocations: 3.792 MB / 0.6921 GB, free: 42.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1272, allocations: 0.5423 MB / 0.6927 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.1279, allocations: 315 kB / 0.693 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.128, allocations: 4.438 kB / 0.693 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.128, allocations: 43 kB / 0.693 GB, free: 41.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.456e-06/0.128, allocations: 3.938 kB / 0.693 GB, free: 41.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.004301/0.1323, allocations: 1.833 MB / 0.6948 GB, free: 39.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1324, allocations: 85.55 kB / 0.6949 GB, free: 39.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.133, allocations: 421.9 kB / 0.6953 GB, free: 38.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.133, allocations: 29.7 kB / 0.6953 GB, free: 38.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1333, allocations: 323.7 kB / 0.6956 GB, free: 38.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.1335, allocations: 201.2 kB / 0.6958 GB, free: 38.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.1335, allocations: 12 kB / 0.6958 GB, free: 38.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1336, allocations: 374.8 kB / 0.6962 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.1344, allocations: 369.5 kB / 0.6965 GB, free: 37.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009001/0.1353, allocations: 0.594 MB / 0.6971 GB, free: 36.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.1363, allocations: 477.8 kB / 0.6976 GB, free: 36.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.1364, allocations: 0 / 0.6976 GB, free: 36.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006974/0.1434, allocations: 1.996 MB / 0.6995 GB, free: 34.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1434, allocations: 8 kB / 0.6995 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.1435, allocations: 8 kB / 0.6995 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/0.1472, allocations: 0.9548 MB / 0.7005 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.148, allocations: 119.8 kB / 0.7006 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.1626, allocations: 7.368 MB / 0.7078 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/0.1634, allocations: 40.03 kB / 0.7078 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.1635, allocations: 36.06 kB / 0.7078 GB, free: 25.46 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004222/0.164, allocations: 249.5 kB / 0.7081 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1641, allocations: 51.39 kB / 0.7081 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.1658, allocations: 0.7295 MB / 0.7088 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1658, allocations: 4 kB / 0.7088 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1658, allocations: 0 / 0.7088 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.166, allocations: 128.4 kB / 0.709 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.1661, allocations: 27.98 kB / 0.709 GB, free: 24.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.1667, allocations: 23.97 kB / 0.709 GB, free: 24.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.1668, allocations: 32.39 kB / 0.709 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004677/0.1715, allocations: 1.236 MB / 0.7103 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002375/0.1739, allocations: 1.362 MB / 0.7116 GB, free: 21.56 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006755/0.1746, allocations: 359.2 kB / 0.7119 GB, free: 21.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003686/0.175, allocations: 287.2 kB / 0.7122 GB, free: 20.93 MB / 442.7 MB Notification: Performance of Backend: time 5.31e-07/0.175, allocations: 0 / 0.7122 GB, free: 20.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.1787, allocations: 1.336 MB / 0.7135 GB, free: 19.56 MB / 442.7 MB Notification: Performance of SimCode: time 0.00492/0.1836, allocations: 3.413 MB / 0.7168 GB, free: 16.09 MB / 442.7 MB Notification: Performance of Templates: time 0.02658/0.2102, allocations: 11.65 MB / 0.7282 GB, free: 4.453 MB / 442.7 MB