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.001518/0.001518, allocations: 185.5 kB / 13.19 MB, free: 2.125 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.166/2.166, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001071/0.001071, allocations: 99.92 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2619/0.2619, allocations: 37.97 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.187e-05, allocations: 0 / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1, allocations: 56.31 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.5759, allocations: 97.87 MB / 0.5576 GB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5763, allocations: 83.95 kB / 0.5577 GB, free: 5.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.6831, allocations: 23.97 MB / 0.5811 GB, free: 13.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6832, allocations: 0 / 0.5811 GB, free: 13.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.791e-05/0.6833, allocations: 8 kB / 0.5811 GB, free: 13.55 MB / 426.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.002362/0.6856, allocations: 0.663 MB / 0.5817 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.6857, allocations: 8.031 kB / 0.5818 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.69, allocations: 219.1 kB / 0.582 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.6914, allocations: 374.1 kB / 0.5823 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.6915, allocations: 37 kB / 0.5824 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.6918, allocations: 40 kB / 0.5824 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.6939, allocations: 0.6069 MB / 0.583 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.694, allocations: 0 / 0.583 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6941, allocations: 19.95 kB / 0.583 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003007/0.6945, allocations: 52.95 kB / 0.5831 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.6967, allocations: 0.57 MB / 0.5836 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.704, allocations: 2.273 MB / 0.5858 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.7055, allocations: 478.9 kB / 0.5863 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.7064, allocations: 233.7 kB / 0.5865 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.7065, allocations: 8 kB / 0.5865 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.7065, allocations: 42.48 kB / 0.5866 GB, free: 7.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 4.909e-06/0.7065, allocations: 4 kB / 0.5866 GB, free: 7.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.00486/0.7114, allocations: 1.231 MB / 0.5878 GB, free: 6.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.7115, allocations: 81.11 kB / 0.5878 GB, free: 6.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.7121, allocations: 239.5 kB / 0.5881 GB, free: 6.035 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.7122, allocations: 33.7 kB / 0.5881 GB, free: 5.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.7125, allocations: 282.5 kB / 0.5884 GB, free: 5.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.7127, allocations: 153.7 kB / 0.5885 GB, free: 5.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.7128, allocations: 12 kB / 0.5885 GB, free: 5.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.713, allocations: 330.8 kB / 0.5888 GB, free: 5.223 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.7137, allocations: 173.1 kB / 0.589 GB, free: 5.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/0.7145, allocations: 274.4 kB / 0.5893 GB, free: 4.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.7153, allocations: 211.8 kB / 0.5895 GB, free: 4.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.7153, allocations: 4 kB / 0.5895 GB, free: 4.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002735/0.7181, allocations: 0.6305 MB / 0.5901 GB, free: 3.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.7181, allocations: 9.984 kB / 0.5901 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.7182, allocations: 4 kB / 0.5901 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.7194, allocations: 165.7 kB / 0.5903 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7205, allocations: 99.88 kB / 0.5904 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.7397, allocations: 2.503 MB / 0.5928 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.7404, allocations: 23.98 kB / 0.5928 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.7404, allocations: 15.98 kB / 0.5928 GB, free: 0.9336 MB / 426.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 () * 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.0001917/0.7406, allocations: 136.8 kB / 0.593 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7408, allocations: 31.62 kB / 0.593 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.7428, allocations: 0.6136 MB / 0.5936 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7429, allocations: 8 kB / 0.5936 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7429, allocations: 0 / 0.5936 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7429, allocations: 3.984 kB / 0.5936 GB, free: 128 kB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004126/0.7471, allocations: 1.335 MB / 0.5949 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.7471, allocations: 0 / 0.5949 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.7479, allocations: 83.95 kB / 0.595 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.7487, allocations: 132.7 kB / 0.5951 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.7488, allocations: 12 kB / 0.5951 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.7534, allocations: 2.308 MB / 0.5974 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7535, allocations: 4.031 kB / 0.5974 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.7561, allocations: 0.9496 MB / 0.5983 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.7564, allocations: 116.6 kB / 0.5984 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.7565, allocations: 12.19 kB / 0.5984 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.7569, allocations: 11.98 kB / 0.5985 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.7571, allocations: 39.84 kB / 0.5985 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.7571, allocations: 12 kB / 0.5985 GB, free: 10.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003475/0.7575, allocations: 195.1 kB / 0.5987 GB, free: 10.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7575, allocations: 0 / 0.5987 GB, free: 10.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009444/0.7585, allocations: 148 kB / 0.5988 GB, free: 10.5 MB / 442.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 () * 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.0002313/0.7587, allocations: 119.4 kB / 0.5989 GB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.7609, allocations: 0.6578 MB / 0.5996 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.761, allocations: 0 / 0.5996 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.7623, allocations: 410.3 kB / 0.6 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.763, allocations: 53.31 kB / 0.6 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.7659, allocations: 0.9505 MB / 0.601 GB, free: 8.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.7666, allocations: 0.8793 MB / 0.6018 GB, free: 7.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.7668, allocations: 39.42 kB / 0.6019 GB, free: 7.301 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7668, allocations: 4 kB / 0.6019 GB, free: 7.297 MB / 442.7 MB Notification: Performance of Templates: time 0.01696/0.7838, allocations: 6.657 MB / 0.6084 GB, free: 0.6328 MB / 442.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)