Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.Islanding.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.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002591/0.002596, allocations: 361.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.715/3.715, allocations: 388.9 MB / 406.8 MB, free: 11.93 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.003573/0.003572, allocations: 241.6 kB / 452.2 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.7579/0.7579, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09004, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01253/0.1026, allocations: 10.5 MB / 0.6845 GB, free: 50.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1143, allocations: 6.238 MB / 0.6906 GB, free: 44.03 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1158, allocations: 63.62 kB / 0.6906 GB, free: 43.97 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02477/0.1406, allocations: 11.8 MB / 0.7022 GB, free: 32.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.1435, allocations: 0.781 MB / 0.7029 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1456, allocations: 479.1 kB / 0.7034 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.1517, allocations: 3.79 MB / 0.7071 GB, free: 27.09 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.154, allocations: 1.085 MB / 0.7081 GB, free: 25.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.1554, allocations: 0.692 MB / 0.7088 GB, free: 25.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.1569, allocations: 0.8951 MB / 0.7097 GB, free: 24.37 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.1571, allocations: 60 kB / 0.7097 GB, free: 24.31 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.158, allocations: 319.4 kB / 0.71 GB, free: 24 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.1585, allocations: 0.5063 MB / 0.7105 GB, free: 23.49 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.1589, allocations: 289 kB / 0.7108 GB, free: 23.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.1608, allocations: 1.691 MB / 0.7125 GB, free: 21.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1609, allocations: 4 kB / 0.7125 GB, free: 21.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1609, allocations: 0 / 0.7125 GB, free: 21.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.1609, allocations: 0 / 0.7125 GB, free: 21.5 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.004743/0.1657, allocations: 1.62 MB / 0.7141 GB, free: 19.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1657, allocations: 12.03 kB / 0.7141 GB, free: 19.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.167, allocations: 222 kB / 0.7143 GB, free: 19.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.1701, allocations: 1.105 MB / 0.7154 GB, free: 18.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.1703, allocations: 86.12 kB / 0.7154 GB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.1707, allocations: 135.9 kB / 0.7156 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.1739, allocations: 1.447 MB / 0.717 GB, free: 16.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.1739, allocations: 0 / 0.717 GB, free: 16.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.1741, allocations: 44 kB / 0.717 GB, free: 16.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.1743, allocations: 85.94 kB / 0.7171 GB, free: 16.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.1774, allocations: 1.187 MB / 0.7183 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.1879, allocations: 5.501 MB / 0.7236 GB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.1903, allocations: 0.9853 MB / 0.7246 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.1915, allocations: 499 kB / 0.7251 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.1917, allocations: 17.75 kB / 0.7251 GB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1917, allocations: 43.22 kB / 0.7251 GB, free: 8.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 3.737e-06/0.1917, allocations: 0 / 0.7251 GB, free: 8.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.0122/0.2039, allocations: 4.324 MB / 0.7294 GB, free: 3.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.204, allocations: 167.2 kB / 0.7295 GB, free: 3.332 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2057, allocations: 0.899 MB / 0.7304 GB, free: 2.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.2058, allocations: 41.7 kB / 0.7304 GB, free: 2.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.2063, allocations: 0.6123 MB / 0.731 GB, free: 1.742 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.2066, allocations: 307.5 kB / 0.7313 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.2066, allocations: 20 kB / 0.7313 GB, free: 1.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.2067, allocations: 341.9 kB / 0.7317 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.2078, allocations: 397.8 kB / 0.732 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.315/0.5228, allocations: 0.6257 MB / 0.7327 GB, free: 127.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.5245, allocations: 487.4 kB / 0.7331 GB, free: 127.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5246, allocations: 2.688 kB / 0.7331 GB, free: 127.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.007909/0.5325, allocations: 2.08 MB / 0.7352 GB, free: 127.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.5327, allocations: 290.6 kB / 0.7354 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.5327, allocations: 11.33 kB / 0.7354 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00596/0.5387, allocations: 0.851 MB / 0.7363 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5399, allocations: 147.6 kB / 0.7364 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.5638, allocations: 9.864 MB / 0.746 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.5653, allocations: 60.02 kB / 0.7461 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5654, allocations: 39.89 kB / 0.7461 GB, free: 121.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5655, allocations: 3.156 kB / 0.7461 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005971/0.5714, allocations: 1.743 MB / 0.7478 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5715, allocations: 8.094 kB / 0.7479 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/0.5761, allocations: 0.7771 MB / 0.7486 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.5773, allocations: 148.5 kB / 0.7488 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.5972, allocations: 9.301 MB / 0.7578 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5986, allocations: 52.06 kB / 0.7579 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.5987, allocations: 43.47 kB / 0.7579 GB, free: 114.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (73): * Single equations (assignments): 70 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 40} Notification: Performance of prepare postOptimizeDAE: time 0.0009452/0.5997, allocations: 468.1 kB / 0.7584 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.5999, allocations: 106.1 kB / 0.7585 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.603, allocations: 1.338 MB / 0.7598 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.603, allocations: 7.516 kB / 0.7598 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.603, allocations: 1.625 kB / 0.7598 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.6036, allocations: 263.9 kB / 0.76 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.6038, allocations: 33.05 kB / 0.7601 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.605, allocations: 48.42 kB / 0.7601 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6051, allocations: 62.8 kB / 0.7602 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005407/0.6106, allocations: 1.397 MB / 0.7615 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00693/0.6175, allocations: 1.836 MB / 0.7633 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001934/0.6195, allocations: 465.9 kB / 0.7638 GB, free: 111.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002251/0.6218, allocations: 0.619 MB / 0.7644 GB, free: 111 MB / 442.7 MB Notification: Performance of Backend: time 1.032e-06/0.6219, allocations: 0 / 0.7644 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01349/0.6354, allocations: 2.797 MB / 0.7671 GB, free: 109.5 MB / 442.7 MB Notification: Performance of SimCode: time 0.01084/0.6463, allocations: 4.021 MB / 0.771 GB, free: 107 MB / 442.7 MB Notification: Performance of Templates: time 0.07464/0.721, allocations: 25.41 MB / 0.7959 GB, free: 93 MB / 442.7 MB