Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002404/0.002408, 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.153/3.153, allocations: 388.9 MB / 406.2 MB, free: 6.934 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.003452/0.003452, allocations: 235.1 kB / 451.6 MB, free: 0.5781 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.6375/0.6375, allocations: 76.03 MB / 0.5594 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 16 kB / 0.6216 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 53.22 MB / 0.6736 GB, free: 62.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006247/0.2689, allocations: 6.805 MB / 0.6802 GB, free: 55.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.2738, allocations: 4.146 MB / 0.6843 GB, free: 51.53 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.2741, allocations: 19.88 kB / 0.6843 GB, free: 51.51 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.2744, allocations: 131.1 kB / 0.6844 GB, free: 51.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.2759, allocations: 0.8354 MB / 0.6853 GB, free: 50.55 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.2764, allocations: 239.2 kB / 0.6855 GB, free: 50.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2778, allocations: 1.897 MB / 0.6873 GB, free: 48.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.28, allocations: 1.172 MB / 0.6885 GB, free: 47.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.2805, allocations: 485.7 kB / 0.6889 GB, free: 46.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.2813, allocations: 0.6581 MB / 0.6896 GB, free: 46.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.2814, allocations: 36 kB / 0.6896 GB, free: 46.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.2826, allocations: 0.7359 MB / 0.6903 GB, free: 45.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.2829, allocations: 442.9 kB / 0.6908 GB, free: 44.87 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2831, allocations: 173.3 kB / 0.6909 GB, free: 44.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2842, allocations: 1.029 MB / 0.6919 GB, free: 43.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.137e-06/0.2842, allocations: 4 kB / 0.6919 GB, free: 43.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.829e-06/0.2842, allocations: 0 / 0.6919 GB, free: 43.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2842, allocations: 0 / 0.6919 GB, free: 43.66 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001293/0.2855, allocations: 0.995 MB / 0.6929 GB, free: 42.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2856, allocations: 8.031 kB / 0.6929 GB, free: 42.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.2895, allocations: 438.4 kB / 0.6933 GB, free: 42.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.2902, allocations: 461.6 kB / 0.6938 GB, free: 41.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2902, allocations: 57.98 kB / 0.6938 GB, free: 41.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.2904, allocations: 79.92 kB / 0.6939 GB, free: 41.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2922, allocations: 1.168 MB / 0.695 GB, free: 40.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.2923, allocations: 0 / 0.695 GB, free: 40.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.2924, allocations: 28 kB / 0.6951 GB, free: 40.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.2925, allocations: 73.95 kB / 0.6951 GB, free: 40.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.2946, allocations: 1.237 MB / 0.6963 GB, free: 39.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005648/0.3003, allocations: 3.535 MB / 0.6998 GB, free: 35.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3021, allocations: 1.063 MB / 0.7008 GB, free: 34.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009679/0.3031, allocations: 0.6595 MB / 0.7015 GB, free: 33.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.3032, allocations: 20.98 kB / 0.7015 GB, free: 33.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3032, allocations: 43.56 kB / 0.7015 GB, free: 33.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.297e-06/0.3032, allocations: 0 / 0.7015 GB, free: 33.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.007152/0.3104, allocations: 3.056 MB / 0.7045 GB, free: 30.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3104, allocations: 94.14 kB / 0.7046 GB, free: 30.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.3108, allocations: 361.5 kB / 0.705 GB, free: 30.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.3109, allocations: 41.7 kB / 0.705 GB, free: 29.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3111, allocations: 308.2 kB / 0.7053 GB, free: 29.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.3113, allocations: 315.4 kB / 0.7056 GB, free: 29.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.3114, allocations: 16 kB / 0.7056 GB, free: 29.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.3115, allocations: 374.8 kB / 0.706 GB, free: 28.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/0.3123, allocations: 461.7 kB / 0.7064 GB, free: 28.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/0.3131, allocations: 0.5695 MB / 0.707 GB, free: 27.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.314, allocations: 0.5418 MB / 0.7075 GB, free: 27.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-06/0.314, allocations: 3.953 kB / 0.7075 GB, free: 27.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00275/0.3168, allocations: 1.462 MB / 0.7089 GB, free: 25.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3168, allocations: 8 kB / 0.7089 GB, free: 25.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.066e-06/0.3169, allocations: 0 / 0.7089 GB, free: 25.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3179, allocations: 337.9 kB / 0.7093 GB, free: 25.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.3188, allocations: 183.7 kB / 0.7094 GB, free: 25.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.3242, allocations: 3.871 MB / 0.7132 GB, free: 21.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.3248, allocations: 51.94 kB / 0.7133 GB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.3249, allocations: 31.98 kB / 0.7133 GB, free: 21.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003915/0.3253, allocations: 297.5 kB / 0.7136 GB, free: 20.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3254, allocations: 59.3 kB / 0.7136 GB, free: 20.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.3283, allocations: 1.559 MB / 0.7152 GB, free: 19.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3284, allocations: 15.98 kB / 0.7152 GB, free: 19.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.29e-06/0.3284, allocations: 4 kB / 0.7152 GB, free: 19.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3284, allocations: 3.984 kB / 0.7152 GB, free: 19.32 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.005372/0.3338, allocations: 3.025 MB / 0.7181 GB, free: 16.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.828e-06/0.3338, allocations: 8.031 kB / 0.7181 GB, free: 16.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.3346, allocations: 163.8 kB / 0.7183 GB, free: 16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009282/0.3355, allocations: 290.9 kB / 0.7186 GB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.3356, allocations: 27.98 kB / 0.7186 GB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.3406, allocations: 3.606 MB / 0.7221 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.481e-06/0.3406, allocations: 7.938 kB / 0.7221 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.3432, allocations: 1.584 MB / 0.7237 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3433, allocations: 140.4 kB / 0.7238 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3435, allocations: 24 kB / 0.7238 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.344, allocations: 43.95 kB / 0.7239 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3442, allocations: 92.72 kB / 0.724 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.3443, allocations: 31.98 kB / 0.724 GB, free: 9.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.3446, allocations: 255.2 kB / 0.7242 GB, free: 9.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.3446, allocations: 0 / 0.7242 GB, free: 9.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001039/0.3456, allocations: 308 kB / 0.7245 GB, free: 9.383 MB / 346.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 (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.3458, allocations: 119.1 kB / 0.7246 GB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.348, allocations: 1.393 MB / 0.726 GB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.348, allocations: 4 kB / 0.726 GB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.3494, allocations: 0.8362 MB / 0.7268 GB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.3502, allocations: 102.4 kB / 0.7269 GB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.3531, allocations: 2.095 MB / 0.729 GB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.3537, allocations: 1.087 MB / 0.73 GB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005865/0.3543, allocations: 180.6 kB / 0.7302 GB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3546, allocations: 63.41 kB / 0.7303 GB, free: 3.379 MB / 346.7 MB Notification: Performance of SimCode: time 1.455e-06/0.3546, allocations: 0 / 0.7303 GB, free: 3.379 MB / 346.7 MB Notification: Performance of Templates: time 0.0204/0.375, allocations: 9.068 MB / 0.7391 GB, free: 10.36 MB / 362.7 MB