Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006479/0.006479, allocations: 183.3 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 221.9 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 98.8 kB / 270.2 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2615/0.2615, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005928/0.0005931, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4916/0.6075, allocations: 97.95 MB / 0.5635 GB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6079, allocations: 86.58 kB / 0.5636 GB, free: 2.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09095/0.6988, allocations: 24.1 MB / 0.5871 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6989, allocations: 0 / 0.5871 GB, free: 14.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.6989, allocations: 12 kB / 0.5871 GB, free: 14.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001586/0.7005, allocations: 0.6974 MB / 0.5878 GB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7006, allocations: 8.031 kB / 0.5878 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.7032, allocations: 214.9 kB / 0.588 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.7041, allocations: 371.3 kB / 0.5883 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.7041, allocations: 27.62 kB / 0.5884 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.7043, allocations: 46.86 kB / 0.5884 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.7057, allocations: 0.6131 MB / 0.589 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.7058, allocations: 3.984 kB / 0.589 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.7059, allocations: 20.33 kB / 0.589 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.7061, allocations: 48.27 kB / 0.5891 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.7076, allocations: 0.5868 MB / 0.5897 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.7125, allocations: 2.276 MB / 0.5919 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.7136, allocations: 481.5 kB / 0.5923 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.7137, allocations: 8.016 kB / 0.5923 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.7137, allocations: 41.5 kB / 0.5924 GB, free: 9.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/0.7137, allocations: 3.938 kB / 0.5924 GB, free: 9.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.005397/0.7191, allocations: 1.657 MB / 0.594 GB, free: 8.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.7193, allocations: 96.52 kB / 0.5941 GB, free: 8.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.7197, allocations: 242.5 kB / 0.5943 GB, free: 8.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.7197, allocations: 32.14 kB / 0.5944 GB, free: 8.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.7199, allocations: 285.2 kB / 0.5946 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.7201, allocations: 153.6 kB / 0.5948 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.7202, allocations: 5.938 kB / 0.5948 GB, free: 7.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7204, allocations: 340.5 kB / 0.5951 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.7208, allocations: 164 kB / 0.5953 GB, free: 7.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.7214, allocations: 281.6 kB / 0.5955 GB, free: 7.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.7219, allocations: 214.9 kB / 0.5957 GB, free: 6.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.7219, allocations: 4 kB / 0.5957 GB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001901/0.7238, allocations: 0.6404 MB / 0.5964 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7239, allocations: 12.39 kB / 0.5964 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7239, allocations: 8 kB / 0.5964 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/0.7248, allocations: 166.7 kB / 0.5965 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.7255, allocations: 95.2 kB / 0.5966 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.7306, allocations: 2.569 MB / 0.5991 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.7311, allocations: 35.48 kB / 0.5992 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.7312, allocations: 15.75 kB / 0.5992 GB, free: 3.875 MB / 394.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 (47): * Single equations (assignments): 46 * 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 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.7316, allocations: 211.3 kB / 0.5994 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.7317, allocations: 31.62 kB / 0.5994 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.7335, allocations: 0.6115 MB / 0.6 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.7335, allocations: 15.95 kB / 0.6 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7335, allocations: 0 / 0.6 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7335, allocations: 0 / 0.6 GB, free: 3.203 MB / 394.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.003425/0.737, allocations: 1.337 MB / 0.6013 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.737, allocations: 4 kB / 0.6014 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.7377, allocations: 75.89 kB / 0.6014 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.7385, allocations: 142 kB / 0.6016 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.7386, allocations: 9.859 kB / 0.6016 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.7429, allocations: 2.373 MB / 0.6039 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7429, allocations: 0 / 0.6039 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.7453, allocations: 0.9622 MB / 0.6048 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.7454, allocations: 112.6 kB / 0.6049 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.7455, allocations: 19.92 kB / 0.605 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.7459, allocations: 15.98 kB / 0.605 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.746, allocations: 31.92 kB / 0.605 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.7461, allocations: 19.98 kB / 0.605 GB, free: 14.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.7464, allocations: 190 kB / 0.6052 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7464, allocations: 4 kB / 0.6052 GB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008857/0.7473, allocations: 148 kB / 0.6053 GB, free: 14.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.7475, allocations: 115.2 kB / 0.6055 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.7494, allocations: 0.666 MB / 0.6061 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7494, allocations: 0 / 0.6061 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7505, allocations: 422.8 kB / 0.6065 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.7511, allocations: 52.61 kB / 0.6066 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.7539, allocations: 1.405 MB / 0.6079 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.7546, allocations: 0.8871 MB / 0.6088 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.7548, allocations: 35.44 kB / 0.6088 GB, free: 10.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7548, allocations: 192 / 0.6088 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Templates: time 0.01396/0.7687, allocations: 6.652 MB / 0.6153 GB, free: 3.895 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)