Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001384/0.001387, allocations: 184 kB / 16.38 MB, free: 5.598 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 1.799/1.799, allocations: 194.5 MB / 211.6 MB, free: 7.512 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001967/0.001967, allocations: 120.5 kB / 256.9 MB, free: 10.13 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2472/0.2472, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 11.03 kB / 403.8 MB, free: 55.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06796/0.06844, allocations: 53.23 MB / 457 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005985/0.07447, allocations: 6.473 MB / 463.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.07999, allocations: 4.078 MB / 467.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.08031, allocations: 15.94 kB / 467.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.08069, allocations: 139.2 kB / 467.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.08273, allocations: 0.7087 MB / 468.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.0836, allocations: 263.3 kB / 468.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000815/0.08444, allocations: 0.5808 MB / 469.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.08726, allocations: 1.275 MB / 470.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.08793, allocations: 398.5 kB / 470.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.08853, allocations: 382.8 kB / 471.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.08865, allocations: 44 kB / 471.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.09075, allocations: 0.8773 MB / 472.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.09135, allocations: 0.495 MB / 472.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.09165, allocations: 217.2 kB / 472.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.09359, allocations: 1.348 MB / 474.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.556e-06/0.09361, allocations: 0 / 474.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.288e-06/0.09362, allocations: 0 / 474.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.09365, allocations: 0 / 474.3 MB, free: 8.977 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002069/0.09573, allocations: 1.178 MB / 475.5 MB, free: 7.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.09578, allocations: 16.02 kB / 475.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005395/0.1012, allocations: 0.6346 MB / 476.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1023, allocations: 0.5354 MB / 476.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.1024, allocations: 69.98 kB / 476.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.1026, allocations: 87.94 kB / 476.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.1057, allocations: 1.461 MB / 478.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.1057, allocations: 4 kB / 478.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.1059, allocations: 35.98 kB / 478.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.1061, allocations: 102 kB / 478.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.1093, allocations: 1.484 MB / 479.9 MB, free: 3.23 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009987/0.1193, allocations: 4.865 MB / 484.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.1218, allocations: 1.159 MB / 485.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.552e-05/0.1219, allocations: 21.11 kB / 485.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.122, allocations: 47.84 kB / 486 MB, free: 12.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 9.496e-06/0.122, allocations: 0 / 486 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=108): time 0.01/0.132, allocations: 3.609 MB / 489.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.1321, allocations: 90.11 kB / 489.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.1328, allocations: 473.7 kB / 490.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.1329, allocations: 41.7 kB / 490.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.1333, allocations: 419.5 kB / 490.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.1338, allocations: 378.6 kB / 491 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.1339, allocations: 24 kB / 491 MB, free: 7.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.1341, allocations: 378.8 kB / 491.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.1353, allocations: 0.5295 MB / 491.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.1366, allocations: 0.7305 MB / 492.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.138, allocations: 0.6393 MB / 493.2 MB, free: 5.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.138, allocations: 7.875 kB / 493.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00414/0.1422, allocations: 1.774 MB / 495 MB, free: 3.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.1422, allocations: 8.5 kB / 495 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.1422, allocations: 8 kB / 495 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.1437, allocations: 409.4 kB / 495.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1449, allocations: 239.6 kB / 495.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009525/0.1544, allocations: 5.735 MB / 0.4897 GB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/0.1553, allocations: 63.92 kB / 0.4897 GB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.1555, allocations: 43.98 kB / 0.4898 GB, free: 12.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006927/0.1562, allocations: 365.3 kB / 0.4901 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.1564, allocations: 71.16 kB / 0.4902 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.1605, allocations: 1.779 MB / 0.4919 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.1605, allocations: 12 kB / 0.4919 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.1605, allocations: 11.95 kB / 0.4919 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.1606, allocations: 11.91 kB / 0.492 GB, free: 10.6 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/0.1684, allocations: 3.431 MB / 0.4953 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.1684, allocations: 4 kB / 0.4953 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.1694, allocations: 187.7 kB / 0.4955 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.1707, allocations: 345.8 kB / 0.4958 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.1708, allocations: 35.97 kB / 0.4958 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009035/0.1799, allocations: 5.459 MB / 0.5012 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.527e-06/0.1799, allocations: 4 kB / 0.5012 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.184, allocations: 1.977 MB / 0.5031 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.1843, allocations: 148.2 kB / 0.5033 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.1844, allocations: 27.98 kB / 0.5033 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.1851, allocations: 51.95 kB / 0.5033 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.1853, allocations: 92.77 kB / 0.5034 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.1855, allocations: 36 kB / 0.5035 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005312/0.186, allocations: 323.1 kB / 0.5038 GB, free: 13.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.186, allocations: 0 / 0.5038 GB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001496/0.1875, allocations: 400 kB / 0.5041 GB, free: 13.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.1878, allocations: 131 kB / 0.5043 GB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.1912, allocations: 1.709 MB / 0.5059 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.423e-06/0.1912, allocations: 0 / 0.5059 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.1933, allocations: 1.066 MB / 0.507 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.1941, allocations: 102.8 kB / 0.5071 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.1987, allocations: 2.588 MB / 0.5096 GB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.2, allocations: 1.196 MB / 0.5108 GB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008374/0.2008, allocations: 233.4 kB / 0.511 GB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.2011, allocations: 59.42 kB / 0.5111 GB, free: 6.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.608e-06/0.2012, allocations: 0 / 0.5111 GB, free: 6.277 MB / 362.7 MB Notification: Performance of Templates: time 0.02685/0.228, allocations: 11.03 MB / 0.5218 GB, free: 11.26 MB / 378.7 MB