Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 169.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05591/0.05591, allocations: 8.72 MB / 16.79 MB, free: 3.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 240.9 MB, free: 13.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009649, allocations: 97.06 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.672e-05, allocations: 0 / 352.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 52.55 MB / 405.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5065, allocations: 139.3 MB / 0.5317 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5068, allocations: 80.47 kB / 0.5318 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135/1.642, allocations: 268.9 MB / 0.7945 GB, free: 51.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.642, allocations: 0 / 0.7945 GB, free: 51.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008082/1.643, allocations: 175.6 kB / 0.7946 GB, free: 51.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03472/1.678, allocations: 7.413 MB / 0.8019 GB, free: 49.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.678, allocations: 11.83 kB / 0.8019 GB, free: 49.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02425/1.702, allocations: 3.882 MB / 0.8057 GB, free: 48.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0231/1.725, allocations: 6.76 MB / 0.8123 GB, free: 47.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/1.726, allocations: 251.8 kB / 0.8125 GB, free: 47.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004128/1.73, allocations: 446.4 kB / 0.8129 GB, free: 47.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02721/1.757, allocations: 9.985 MB / 0.8227 GB, free: 47.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04387/1.801, allocations: 11.27 MB / 0.8337 GB, free: 44.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007622/1.802, allocations: 22.86 kB / 0.8337 GB, free: 44.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005867/1.808, allocations: 3.531 kB / 0.8337 GB, free: 44.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001395/1.809, allocations: 0.5931 MB / 0.8343 GB, free: 44.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0933/1.903, allocations: 42.99 MB / 0.8763 GB, free: 20.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/1.932, allocations: 25.99 MB / 0.9017 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006484/1.938, allocations: 2.919 MB / 0.9045 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/1.939, allocations: 240.7 kB / 0.9047 GB, free: 7.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006069/1.945, allocations: 2.531 MB / 0.9072 GB, free: 4.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=391): time 1.308e-05/1.945, allocations: 0 / 0.9072 GB, free: 4.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=397): time 0.3904/2.336, allocations: 15.67 MB / 0.9225 GB, free: 64.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/2.336, allocations: 353.9 kB / 0.9228 GB, free: 64.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004634/2.34, allocations: 2.707 MB / 0.9255 GB, free: 63.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007275/2.341, allocations: 25.7 kB / 0.9255 GB, free: 63.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002005/2.343, allocations: 3.384 MB / 0.9288 GB, free: 62.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/2.345, allocations: 1.295 MB / 0.9301 GB, free: 61.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/2.345, allocations: 3.156 kB / 0.9301 GB, free: 61.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/2.345, allocations: 0.525 MB / 0.9306 GB, free: 61.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/2.348, allocations: 2.489 MB / 0.933 GB, free: 61.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/2.352, allocations: 4.377 MB / 0.9373 GB, free: 58.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/2.36, allocations: 4.36 MB / 0.9416 GB, free: 58.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.059e-05/2.36, allocations: 18 kB / 0.9416 GB, free: 58.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01772/2.377, allocations: 8.608 MB / 0.95 GB, free: 58.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/2.378, allocations: 56.48 kB / 0.95 GB, free: 58.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/2.378, allocations: 63.5 kB / 0.9501 GB, free: 58.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/2.38, allocations: 0.9923 MB / 0.9511 GB, free: 58.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006925/2.387, allocations: 1.299 MB / 0.9523 GB, free: 58.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/2.404, allocations: 7.959 MB / 0.9601 GB, free: 56.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006217/2.41, allocations: 307.5 kB / 0.9604 GB, free: 56.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/2.412, allocations: 267.2 kB / 0.9607 GB, free: 56.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (663): * Single equations (assignments): 661 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,52.0%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002552/2.414, allocations: 308.9 kB / 0.9609 GB, free: 56.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/2.416, allocations: 358.8 kB / 0.9613 GB, free: 56.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/2.434, allocations: 6.659 MB / 0.9678 GB, free: 56.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/2.434, allocations: 44.66 kB / 0.9678 GB, free: 56.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-05/2.434, allocations: 11.59 kB / 0.9678 GB, free: 56.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/2.434, allocations: 22.22 kB / 0.9679 GB, free: 56.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0362/2.471, allocations: 14.63 MB / 0.9822 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/2.471, allocations: 3.875 kB / 0.9822 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/2.474, allocations: 0.7139 MB / 0.9829 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/2.477, allocations: 0.8639 MB / 0.9837 GB, free: 54.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008108/2.478, allocations: 26.77 kB / 0.9837 GB, free: 54.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/2.488, allocations: 6.94 MB / 0.9905 GB, free: 52.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/2.488, allocations: 5.469 kB / 0.9905 GB, free: 52.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/2.506, allocations: 9.862 MB / 1 GB, free: 47.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/2.509, allocations: 0.9586 MB / 1.001 GB, free: 46.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/2.511, allocations: 7.438 kB / 1.001 GB, free: 46.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/2.514, allocations: 179 kB / 1.001 GB, free: 46.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009146/2.515, allocations: 271 kB / 1.002 GB, free: 46.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004887/2.516, allocations: 115.2 kB / 1.002 GB, free: 46.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004629/2.521, allocations: 1.963 MB / 1.004 GB, free: 46.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.521, allocations: 0 / 1.004 GB, free: 46.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008742/2.529, allocations: 1.307 MB / 1.005 GB, free: 46.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,52.0%) 46} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/2.531, allocations: 425.9 kB / 1.005 GB, free: 45.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01182/2.543, allocations: 6.256 MB / 1.011 GB, free: 43.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.543, allocations: 3.938 kB / 1.011 GB, free: 43.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005815/2.548, allocations: 3.041 MB / 1.014 GB, free: 42.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/2.553, allocations: 0.5542 MB / 1.015 GB, free: 42.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/2.585, allocations: 11.91 MB / 1.026 GB, free: 37.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.596, allocations: 5.136 MB / 1.031 GB, free: 33.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007686/2.603, allocations: 1.656 MB / 1.033 GB, free: 32.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/2.606, allocations: 314.4 kB / 1.033 GB, free: 32.18 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/2.606, allocations: 2.844 kB / 1.033 GB, free: 32.18 MB / 474.7 MB Notification: Performance of Templates: time 0.09815/2.704, allocations: 52.94 MB / 1.085 GB, free: 12.78 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1)