Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03837/0.03837, allocations: 8.698 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 246 MB, free: 3.602 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.0008541/0.0008541, allocations: 92.92 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.583e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 52.54 MB / 412.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.7203, allocations: 140 MB / 0.5391 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.7206, allocations: 76.66 kB / 0.5392 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8258/1.546, allocations: 272 MB / 0.8048 GB, free: 34.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.546, allocations: 0 / 0.8048 GB, free: 34.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006773/1.547, allocations: 171.8 kB / 0.8049 GB, free: 34.56 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.02839/1.576, allocations: 7.424 MB / 0.8122 GB, free: 27.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.576, allocations: 12.03 kB / 0.8122 GB, free: 27.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/1.598, allocations: 3.881 MB / 0.816 GB, free: 23.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.617, allocations: 6.763 MB / 0.8226 GB, free: 16.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/1.618, allocations: 0.5722 MB / 0.8231 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003556/1.621, allocations: 0.7411 MB / 0.8239 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02972/1.651, allocations: 12.48 MB / 0.836 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/1.651, allocations: 11.91 kB / 0.8361 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/1.653, allocations: 326 kB / 0.8364 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005075/1.653, allocations: 0.5982 MB / 0.837 GB, free: 1.582 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6976/2.351, allocations: 11.32 MB / 0.848 GB, free: 48.62 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08633/2.437, allocations: 43.6 MB / 0.8906 GB, free: 39.86 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/2.457, allocations: 25.09 MB / 0.9151 GB, free: 18.57 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/2.461, allocations: 2.884 MB / 0.9179 GB, free: 17.45 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/2.462, allocations: 250.1 kB / 0.9181 GB, free: 17.25 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003566/2.465, allocations: 2.491 MB / 0.9206 GB, free: 16.18 MB / 458.8 MB Notification: Performance of pre-optimization done (n=391): time 6.081e-06/2.465, allocations: 3.5 kB / 0.9206 GB, free: 16.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=397): time 0.02345/2.489, allocations: 13.75 MB / 0.934 GB, free: 9.16 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004679/2.489, allocations: 352.8 kB / 0.9343 GB, free: 24.78 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/2.495, allocations: 3.093 MB / 0.9374 GB, free: 23.56 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009078/2.496, allocations: 92.83 kB / 0.9375 GB, free: 23.48 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/2.498, allocations: 3.36 MB / 0.9407 GB, free: 20.94 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/2.499, allocations: 1.347 MB / 0.942 GB, free: 19.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/2.5, allocations: 117.5 kB / 0.9422 GB, free: 19.81 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003495/2.5, allocations: 0.5244 MB / 0.9427 GB, free: 19.41 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/2.503, allocations: 2.455 MB / 0.9451 GB, free: 18.45 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/2.508, allocations: 4.384 MB / 0.9494 GB, free: 15.05 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005387/2.513, allocations: 3.484 MB / 0.9528 GB, free: 13.72 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.548e-05/2.514, allocations: 20.86 kB / 0.9528 GB, free: 13.72 MB / 474.8 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01469/2.528, allocations: 8.074 MB / 0.9607 GB, free: 10.95 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/2.528, allocations: 55.33 kB / 0.9607 GB, free: 10.92 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/2.528, allocations: 62.97 kB / 0.9608 GB, free: 10.92 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/2.531, allocations: 1.007 MB / 0.9618 GB, free: 10.71 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005095/2.536, allocations: 1.275 MB / 0.963 GB, free: 10.67 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/2.548, allocations: 8.218 MB / 0.971 GB, free: 6.156 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/2.555, allocations: 397.2 kB / 0.9714 GB, free: 6.039 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/2.556, allocations: 261.6 kB / 0.9717 GB, free: 5.996 MB / 474.8 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.001202/2.557, allocations: 490 kB / 0.9721 GB, free: 5.664 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/2.558, allocations: 380 kB / 0.9725 GB, free: 5.469 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/2.57, allocations: 6.05 MB / 0.9784 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/2.57, allocations: 40 kB / 0.9784 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/2.57, allocations: 12 kB / 0.9784 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/2.57, allocations: 22.55 kB / 0.9785 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/2.602, allocations: 14.91 MB / 0.993 GB, free: 4.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/2.602, allocations: 4 kB / 0.993 GB, free: 4.566 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/2.605, allocations: 0.6821 MB / 0.9937 GB, free: 4.016 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/2.608, allocations: 0.8661 MB / 0.9945 GB, free: 3.355 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008637/2.609, allocations: 86.61 kB / 0.9946 GB, free: 3.277 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/2.621, allocations: 7.142 MB / 1.002 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/2.621, allocations: 8.031 kB / 1.002 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/2.636, allocations: 9.06 MB / 1.01 GB, free: 4.562 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003692/2.64, allocations: 0.9328 MB / 1.011 GB, free: 3.715 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/2.641, allocations: 79.38 kB / 1.011 GB, free: 3.641 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/2.644, allocations: 216.2 kB / 1.012 GB, free: 3.488 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/2.644, allocations: 276.7 kB / 1.012 GB, free: 3.312 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/2.645, allocations: 107.5 kB / 1.012 GB, free: 3.211 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006308/2.651, allocations: 2.292 MB / 1.014 GB, free: 1.168 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.11e-07/2.651, allocations: 0 / 1.014 GB, free: 1.168 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01364/2.665, allocations: 1.673 MB / 1.016 GB, free: 0 / 0.4949 GB 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.002264/2.667, allocations: 0.6228 MB / 1.016 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01677/2.684, allocations: 6.295 MB / 1.023 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/2.684, allocations: 4 kB / 1.023 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009539/2.694, allocations: 3.014 MB / 1.026 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007112/2.701, allocations: 0.736 MB / 1.026 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3666/3.067, allocations: 12.57 MB / 1.039 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/3.078, allocations: 5.131 MB / 1.044 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007084/3.085, allocations: 1.67 MB / 1.045 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/3.086, allocations: 328.2 kB / 1.046 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/3.086, allocations: 0 / 1.046 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.1059/3.192, allocations: 60.06 MB / 1.104 GB, free: 96.73 MB / 0.5105 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1)