Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002416/0.00242, allocations: 354.4 kB / 16.57 MB, free: 5.59 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.454/3.454, allocations: 388.9 MB / 406.2 MB, free: 11.9 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.003339/0.003339, allocations: 228.9 kB / 451.6 MB, free: 14.5 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.6144/0.6144, allocations: 76 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004541, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0649/0.06538, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004141/0.06956, allocations: 4.58 MB / 0.6781 GB, free: 56.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.07149, allocations: 1.439 MB / 0.6795 GB, free: 54.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.07171, allocations: 23.81 kB / 0.6795 GB, free: 54.74 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.07197, allocations: 95.34 kB / 0.6796 GB, free: 54.65 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.07247, allocations: 270.5 kB / 0.6799 GB, free: 54.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.0729, allocations: 155.7 kB / 0.68 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.07348, allocations: 0.6621 MB / 0.6807 GB, free: 53.57 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.07434, allocations: 0.5347 MB / 0.6812 GB, free: 53 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.07461, allocations: 199 kB / 0.6814 GB, free: 52.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.07504, allocations: 279.1 kB / 0.6816 GB, free: 52.53 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.0751, allocations: 19.94 kB / 0.6817 GB, free: 52.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.0753, allocations: 79.81 kB / 0.6817 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.07546, allocations: 191.5 kB / 0.6819 GB, free: 52.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.07556, allocations: 97.52 kB / 0.682 GB, free: 52.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.0759, allocations: 391 kB / 0.6824 GB, free: 51.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.553e-06/0.07592, allocations: 3.938 kB / 0.6824 GB, free: 51.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.589e-06/0.07593, allocations: 0 / 0.6824 GB, free: 51.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.07594, allocations: 0 / 0.6824 GB, free: 51.75 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008262/0.07678, allocations: 0.6289 MB / 0.683 GB, free: 51.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.07682, allocations: 12.83 kB / 0.683 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.07748, allocations: 87.38 kB / 0.6831 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.07813, allocations: 378.2 kB / 0.6834 GB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.07817, allocations: 36.91 kB / 0.6835 GB, free: 50.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.0783, allocations: 43.95 kB / 0.6835 GB, free: 50.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.07897, allocations: 476.8 kB / 0.684 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.079, allocations: 7.875 kB / 0.684 GB, free: 49.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.07905, allocations: 19.98 kB / 0.684 GB, free: 49.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/0.07915, allocations: 28.97 kB / 0.684 GB, free: 49.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.07972, allocations: 343.7 kB / 0.6844 GB, free: 49.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.08182, allocations: 1.722 MB / 0.686 GB, free: 47.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.08214, allocations: 157.1 kB / 0.6862 GB, free: 47.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.08234, allocations: 108.5 kB / 0.6863 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.08237, allocations: 4 kB / 0.6863 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.0824, allocations: 38.55 kB / 0.6863 GB, free: 47.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.337e-06/0.08241, allocations: 0 / 0.6863 GB, free: 47.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001412/0.08383, allocations: 0.8903 MB / 0.6872 GB, free: 46.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.08388, allocations: 81.11 kB / 0.6873 GB, free: 46.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.08419, allocations: 308.5 kB / 0.6876 GB, free: 46.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.08423, allocations: 29.7 kB / 0.6876 GB, free: 46.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.08437, allocations: 251.4 kB / 0.6878 GB, free: 45.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.08444, allocations: 67.22 kB / 0.6879 GB, free: 45.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.08447, allocations: 4 kB / 0.6879 GB, free: 45.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.08455, allocations: 342.8 kB / 0.6882 GB, free: 45.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.08474, allocations: 100.2 kB / 0.6883 GB, free: 45.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.08498, allocations: 206.1 kB / 0.6885 GB, free: 45.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.08522, allocations: 132.6 kB / 0.6887 GB, free: 44.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.002e-06/0.08524, allocations: 0 / 0.6887 GB, free: 44.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001/0.08625, allocations: 483.8 kB / 0.6891 GB, free: 44.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.08628, allocations: 11.94 kB / 0.6891 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006541/0.08694, allocations: 308.3 kB / 0.6894 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.0875, allocations: 136.9 kB / 0.6896 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.08772, allocations: 51.92 kB / 0.6896 GB, free: 43.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.09033, allocations: 2.186 MB / 0.6917 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.09055, allocations: 23.98 kB / 0.6918 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.09059, allocations: 23.94 kB / 0.6918 GB, free: 41.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.09078, allocations: 181.7 kB / 0.692 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.09085, allocations: 35.58 kB / 0.692 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.09128, allocations: 261.5 kB / 0.6922 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-06/0.0913, allocations: 4 kB / 0.6922 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.268e-06/0.09132, allocations: 0 / 0.6922 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-06/0.09133, allocations: 0 / 0.6922 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.09242, allocations: 0.7467 MB / 0.693 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-06/0.09244, allocations: 0 / 0.693 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.09269, allocations: 35.98 kB / 0.693 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.09281, allocations: 36.83 kB / 0.693 GB, free: 40.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.09285, allocations: 12.06 kB / 0.6931 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.908e-06/0.09286, allocations: 7.922 kB / 0.6931 GB, free: 40.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.884e-06/0.09287, allocations: 4 kB / 0.6931 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.0934, allocations: 430.3 kB / 0.6935 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.09348, allocations: 108.8 kB / 0.6936 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.09354, allocations: 8 kB / 0.6936 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.09376, allocations: 15.92 kB / 0.6936 GB, free: 39.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.09382, allocations: 15.94 kB / 0.6936 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.09385, allocations: 4 kB / 0.6936 GB, free: 39.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.0941, allocations: 219 kB / 0.6938 GB, free: 39.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.09411, allocations: 0 / 0.6938 GB, free: 39.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005493/0.09467, allocations: 88 kB / 0.6939 GB, free: 39.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.507e-05/0.09477, allocations: 103.3 kB / 0.694 GB, free: 39.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006392/0.09542, allocations: 410.9 kB / 0.6944 GB, free: 38.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.944e-06/0.09544, allocations: 192 / 0.6944 GB, free: 38.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.09565, allocations: 181.9 kB / 0.6946 GB, free: 38.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.09616, allocations: 57 kB / 0.6946 GB, free: 38.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.09753, allocations: 1.086 MB / 0.6957 GB, free: 37.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.09789, allocations: 0.8535 MB / 0.6965 GB, free: 36.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.09818, allocations: 62.91 kB / 0.6966 GB, free: 36.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.09826, allocations: 23.44 kB / 0.6966 GB, free: 36.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.375e-06/0.09828, allocations: 0 / 0.6966 GB, free: 36.34 MB / 442.7 MB Notification: Performance of Templates: time 0.008338/0.1066, allocations: 3.497 MB / 0.7 GB, free: 32.86 MB / 442.7 MB