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.002764/0.002768, allocations: 364.9 kB / 17.22 MB, free: 4.922 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.367/3.367, allocations: 388.9 MB / 406.9 MB, free: 6.855 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003448/0.003447, allocations: 230.9 kB / 452.2 MB, free: 0.5859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7007/0.7007, allocations: 76.02 MB / 0.56 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 8 kB / 0.6222 GB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 53.22 MB / 0.6742 GB, free: 62.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007528/0.3463, allocations: 4.584 MB / 0.6787 GB, free: 58.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.3501, allocations: 1.449 MB / 0.6801 GB, free: 56.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.3505, allocations: 23.88 kB / 0.6801 GB, free: 56.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.351, allocations: 95.28 kB / 0.6802 GB, free: 56.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.3519, allocations: 261.4 kB / 0.6805 GB, free: 56.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.3527, allocations: 169.9 kB / 0.6806 GB, free: 56.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.354, allocations: 0.6665 MB / 0.6813 GB, free: 55.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.3553, allocations: 0.5153 MB / 0.6818 GB, free: 54.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.3558, allocations: 203 kB / 0.682 GB, free: 54.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.3565, allocations: 271.2 kB / 0.6822 GB, free: 54.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.3565, allocations: 16 kB / 0.6823 GB, free: 54.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.3569, allocations: 83.81 kB / 0.6823 GB, free: 54.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.3572, allocations: 187.5 kB / 0.6825 GB, free: 54.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3573, allocations: 105.5 kB / 0.6826 GB, free: 54.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.358, allocations: 387.1 kB / 0.683 GB, free: 53.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.358, allocations: 0 / 0.683 GB, free: 53.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.358, allocations: 0 / 0.683 GB, free: 53.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.358, allocations: 4 kB / 0.683 GB, free: 53.62 MB / 346.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.001636/0.3597, allocations: 0.6288 MB / 0.6836 GB, free: 52.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3597, allocations: 12.03 kB / 0.6836 GB, free: 52.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.361, allocations: 91.38 kB / 0.6837 GB, free: 52.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3621, allocations: 382.1 kB / 0.6841 GB, free: 52.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.3621, allocations: 28.98 kB / 0.6841 GB, free: 52.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.3624, allocations: 47.89 kB / 0.6841 GB, free: 52.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3638, allocations: 484.7 kB / 0.6846 GB, free: 51.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.3638, allocations: 0 / 0.6846 GB, free: 51.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.3639, allocations: 16 kB / 0.6846 GB, free: 51.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.3641, allocations: 24.98 kB / 0.6846 GB, free: 51.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3653, allocations: 347.7 kB / 0.685 GB, free: 51.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.369, allocations: 1.729 MB / 0.6867 GB, free: 49.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3696, allocations: 160.8 kB / 0.6868 GB, free: 49.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.3699, allocations: 105.7 kB / 0.6869 GB, free: 49.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3699, allocations: 4 kB / 0.6869 GB, free: 49.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.37, allocations: 34.56 kB / 0.6869 GB, free: 49.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.517e-06/0.37, allocations: 3.938 kB / 0.687 GB, free: 49.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002656/0.3727, allocations: 0.8883 MB / 0.6878 GB, free: 48.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3727, allocations: 81.06 kB / 0.6879 GB, free: 48.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.3733, allocations: 312.5 kB / 0.6882 GB, free: 47.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3733, allocations: 25.7 kB / 0.6882 GB, free: 47.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3735, allocations: 247.5 kB / 0.6885 GB, free: 47.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3736, allocations: 67.09 kB / 0.6885 GB, free: 47.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3737, allocations: 12.12 kB / 0.6885 GB, free: 47.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.3738, allocations: 342.8 kB / 0.6889 GB, free: 47.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.3741, allocations: 96.22 kB / 0.689 GB, free: 47.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.3745, allocations: 202.7 kB / 0.6891 GB, free: 46.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.375, allocations: 134.1 kB / 0.6893 GB, free: 46.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.375, allocations: 0 / 0.6893 GB, free: 46.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001703/0.3767, allocations: 480.9 kB / 0.6897 GB, free: 46.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3767, allocations: 8 kB / 0.6897 GB, free: 46.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001182/0.3779, allocations: 312.8 kB / 0.69 GB, free: 45.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/0.3789, allocations: 132.7 kB / 0.6902 GB, free: 45.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.3794, allocations: 56.08 kB / 0.6902 GB, free: 45.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.3837, allocations: 2.201 MB / 0.6924 GB, free: 43.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.3841, allocations: 11.98 kB / 0.6924 GB, free: 43.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.3842, allocations: 16 kB / 0.6924 GB, free: 43.43 MB / 346.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.0003306/0.3845, allocations: 189.7 kB / 0.6926 GB, free: 43.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.3846, allocations: 31.62 kB / 0.6926 GB, free: 43.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.3854, allocations: 261.4 kB / 0.6929 GB, free: 42.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3854, allocations: 4.062 kB / 0.6929 GB, free: 42.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3854, allocations: 4 kB / 0.6929 GB, free: 42.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3855, allocations: 108.7 kB / 0.693 GB, free: 42.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.3856, allocations: 0 / 0.693 GB, free: 42.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.386, allocations: 15.98 kB / 0.693 GB, free: 42.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3861, allocations: 15.92 kB / 0.693 GB, free: 42.77 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001372/0.3875, allocations: 456.6 kB / 0.6934 GB, free: 42.32 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008662/0.3883, allocations: 0.5484 MB / 0.694 GB, free: 41.75 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000237/0.3886, allocations: 83.98 kB / 0.694 GB, free: 41.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003651/0.389, allocations: 223.1 kB / 0.6943 GB, free: 41.45 MB / 346.7 MB Notification: Performance of Backend: time 1.663e-06/0.389, allocations: 0 / 0.6943 GB, free: 41.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.391, allocations: 441.2 kB / 0.6947 GB, free: 41 MB / 346.7 MB Notification: Performance of SimCode: time 0.002908/0.3939, allocations: 1.548 MB / 0.6962 GB, free: 39.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01776/0.4118, allocations: 4.248 MB / 0.7003 GB, free: 35.2 MB / 346.7 MB