Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002687/0.002692, allocations: 360.4 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.804/3.804, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.005222/0.005222, allocations: 237.6 kB / 452.2 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.845/0.845, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006126/0.0006129, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09352, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00827/0.1019, allocations: 6.833 MB / 0.6809 GB, free: 53.97 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004747/0.1067, allocations: 2.23 MB / 0.6831 GB, free: 51.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.1074, allocations: 39.75 kB / 0.6831 GB, free: 51.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1078, allocations: 127 kB / 0.6832 GB, free: 51.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1096, allocations: 0.5753 MB / 0.6838 GB, free: 50.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1107, allocations: 263.5 kB / 0.684 GB, free: 50.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.1125, allocations: 1.39 MB / 0.6854 GB, free: 49.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.1143, allocations: 0.912 MB / 0.6863 GB, free: 48.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.1152, allocations: 418 kB / 0.6867 GB, free: 47.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1163, allocations: 0.6076 MB / 0.6873 GB, free: 47.37 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1165, allocations: 36 kB / 0.6873 GB, free: 47.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.1171, allocations: 227.6 kB / 0.6875 GB, free: 47.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004757/0.1176, allocations: 446.9 kB / 0.688 GB, free: 46.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.1179, allocations: 193.2 kB / 0.6881 GB, free: 46.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.1189, allocations: 0.8807 MB / 0.689 GB, free: 45.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.119, allocations: 0 / 0.689 GB, free: 45.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.119, allocations: 0 / 0.689 GB, free: 45.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.119, allocations: 3.938 kB / 0.689 GB, free: 45.59 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002483/0.1215, allocations: 1.067 MB / 0.6901 GB, free: 44.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1216, allocations: 8.031 kB / 0.6901 GB, free: 44.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.1231, allocations: 162.7 kB / 0.6902 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.1245, allocations: 0.5762 MB / 0.6908 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.66e-05/0.1246, allocations: 65.98 kB / 0.6908 GB, free: 43.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.125, allocations: 95.97 kB / 0.6909 GB, free: 43.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.1274, allocations: 1.157 MB / 0.6921 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.1275, allocations: 15.84 kB / 0.6921 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.1276, allocations: 31.94 kB / 0.6921 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.1278, allocations: 81.95 kB / 0.6922 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.1304, allocations: 0.9913 MB / 0.6932 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007437/0.1379, allocations: 4.378 MB / 0.6974 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1397, allocations: 0.6143 MB / 0.698 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.1405, allocations: 311.6 kB / 0.6983 GB, free: 35.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.1405, allocations: 8.562 kB / 0.6983 GB, free: 35.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1406, allocations: 39.12 kB / 0.6984 GB, free: 35.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.108e-06/0.1406, allocations: 0 / 0.6984 GB, free: 35.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.00424/0.1448, allocations: 1.73 MB / 0.7001 GB, free: 33.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1449, allocations: 85.67 kB / 0.7001 GB, free: 33.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.1456, allocations: 0.5416 MB / 0.7007 GB, free: 33.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.1457, allocations: 37.7 kB / 0.7007 GB, free: 33.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.146, allocations: 446.7 kB / 0.7011 GB, free: 32.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1462, allocations: 213 kB / 0.7013 GB, free: 32.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1463, allocations: 27.94 kB / 0.7014 GB, free: 32.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1464, allocations: 382.8 kB / 0.7017 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.1471, allocations: 281.8 kB / 0.702 GB, free: 31.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/0.148, allocations: 0.6075 MB / 0.7026 GB, free: 31.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.1489, allocations: 393.9 kB / 0.703 GB, free: 30.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.149, allocations: 4 kB / 0.703 GB, free: 30.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003097/0.1521, allocations: 1.165 MB / 0.7041 GB, free: 29.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.1521, allocations: 8 kB / 0.7041 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00207/0.1542, allocations: 0.7067 MB / 0.7048 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.1554, allocations: 222.3 kB / 0.705 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.1569, allocations: 223.7 kB / 0.7052 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.1624, allocations: 4.911 MB / 0.71 GB, free: 22.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/0.1634, allocations: 35.98 kB / 0.7101 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.1635, allocations: 47.98 kB / 0.7101 GB, free: 22.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005973/0.1641, allocations: 357.5 kB / 0.7104 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.1642, allocations: 63.16 kB / 0.7105 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.1658, allocations: 0.6499 MB / 0.7111 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1659, allocations: 3.984 kB / 0.7111 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1659, allocations: 0 / 0.7111 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.1662, allocations: 176.3 kB / 0.7113 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1663, allocations: 19.98 kB / 0.7113 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.1669, allocations: 19.84 kB / 0.7114 GB, free: 21.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.167, allocations: 60.38 kB / 0.7114 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002877/0.1699, allocations: 0.8963 MB / 0.7123 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002201/0.1721, allocations: 1.193 MB / 0.7135 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006435/0.1728, allocations: 288.4 kB / 0.7137 GB, free: 19.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005224/0.1733, allocations: 362.8 kB / 0.7141 GB, free: 18.75 MB / 442.7 MB Notification: Performance of Backend: time 1.553e-06/0.1734, allocations: 0 / 0.7141 GB, free: 18.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.1761, allocations: 1.016 MB / 0.7151 GB, free: 17.69 MB / 442.7 MB Notification: Performance of SimCode: time 0.004123/0.1802, allocations: 2.64 MB / 0.7176 GB, free: 15 MB / 442.7 MB Notification: Performance of Templates: time 0.02386/0.2042, allocations: 8.934 MB / 0.7264 GB, free: 6.078 MB / 442.7 MB