Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 165.6 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06326/0.06326, allocations: 8.715 MB / 16.79 MB, free: 3.371 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.382/1.382, allocations: 221.5 MB / 240.9 MB, free: 13.18 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.0008522/0.0008522, allocations: 95.94 kB / 293.9 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.225e-05, allocations: 4 kB / 352.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.548, allocations: 119.6 MB / 0.5125 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5483, allocations: 77.05 kB / 0.5126 GB, free: 212 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6463/1.195, allocations: 161 MB / 0.6699 GB, free: 61.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.195, allocations: 0 / 0.6699 GB, free: 61.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003214/1.195, allocations: 99.69 kB / 0.6699 GB, free: 61.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01175/1.207, allocations: 3.924 MB / 0.6738 GB, free: 58.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.207, allocations: 14.42 kB / 0.6738 GB, free: 58.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006493/1.213, allocations: 0.9162 MB / 0.6747 GB, free: 58.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/1.224, allocations: 3.832 MB / 0.6784 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/1.224, allocations: 134.1 kB / 0.6786 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.226, allocations: 230.7 kB / 0.6788 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00861/1.235, allocations: 3.795 MB / 0.6825 GB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00929/1.244, allocations: 4.435 MB / 0.6868 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.71e-05/1.244, allocations: 7.891 kB / 0.6868 GB, free: 49.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/1.244, allocations: 4 kB / 0.6868 GB, free: 49.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/1.245, allocations: 164 kB / 0.687 GB, free: 49.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02731/1.272, allocations: 16.19 MB / 0.7028 GB, free: 32.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/1.278, allocations: 8.289 MB / 0.7109 GB, free: 23.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.28, allocations: 1.547 MB / 0.7124 GB, free: 22.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008113/1.288, allocations: 4.766 MB / 0.7171 GB, free: 17.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.288, allocations: 51.81 kB / 0.7171 GB, free: 17.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.208e-06/1.288, allocations: 0 / 0.7171 GB, free: 17.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.008584/1.297, allocations: 4.726 MB / 0.7217 GB, free: 12.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.297, allocations: 72.72 kB / 0.7218 GB, free: 12.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/1.299, allocations: 1.652 MB / 0.7234 GB, free: 10.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.3, allocations: 25.7 kB / 0.7234 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009391/1.301, allocations: 1.858 MB / 0.7252 GB, free: 8.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/1.301, allocations: 0.5158 MB / 0.7257 GB, free: 8.121 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/1.301, allocations: 0 / 0.7257 GB, free: 8.121 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/1.301, allocations: 386 kB / 0.7261 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/1.302, allocations: 0.7148 MB / 0.7268 GB, free: 7.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/1.303, allocations: 1.389 MB / 0.7282 GB, free: 5.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.305, allocations: 1.126 MB / 0.7293 GB, free: 4.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.305, allocations: 8 kB / 0.7293 GB, free: 4.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.004191/1.309, allocations: 2.591 MB / 0.7318 GB, free: 1.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.309, allocations: 19.94 kB / 0.7318 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/1.309, allocations: 20 kB / 0.7318 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/1.31, allocations: 129.6 kB / 0.732 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.312, allocations: 0.5308 MB / 0.7325 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.314, allocations: 1.756 MB / 0.7342 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.316, allocations: 79.78 kB / 0.7343 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/1.316, allocations: 91.98 kB / 0.7344 GB, free: 14.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/1.316, allocations: 178.5 kB / 0.7345 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/1.317, allocations: 221.3 kB / 0.7347 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/1.322, allocations: 2.263 MB / 0.737 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.322, allocations: 12 kB / 0.737 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.322, allocations: 8 kB / 0.737 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.322, allocations: 15.91 kB / 0.737 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.332, allocations: 5.044 MB / 0.7419 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.332, allocations: 4 kB / 0.7419 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.334, allocations: 291.8 kB / 0.7422 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/1.335, allocations: 294.2 kB / 0.7425 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/1.335, allocations: 16 kB / 0.7425 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3196/1.654, allocations: 6.076 MB / 0.7484 GB, free: 78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.654, allocations: 2.719 kB / 0.7484 GB, free: 78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006/1.66, allocations: 3.396 MB / 0.7517 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.662, allocations: 470.7 kB / 0.7522 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/1.662, allocations: 15.08 kB / 0.7522 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.664, allocations: 66.59 kB / 0.7523 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.664, allocations: 119.7 kB / 0.7524 GB, free: 77.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/1.664, allocations: 40.91 kB / 0.7524 GB, free: 77.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00194/1.666, allocations: 1.215 MB / 0.7536 GB, free: 77.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.666, allocations: 0 / 0.7536 GB, free: 77.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002406/1.668, allocations: 0.6201 MB / 0.7542 GB, free: 77.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006296/1.669, allocations: 351.9 kB / 0.7546 GB, free: 77.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002657/1.672, allocations: 1.977 MB / 0.7565 GB, free: 76.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.672, allocations: 0 / 0.7565 GB, free: 76.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.673, allocations: 1.295 MB / 0.7577 GB, free: 76.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.676, allocations: 429 kB / 0.7582 GB, free: 76.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/1.685, allocations: 5.408 MB / 0.7634 GB, free: 75.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/1.688, allocations: 2.736 MB / 0.7661 GB, free: 74.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002091/1.69, allocations: 0.5231 MB / 0.7666 GB, free: 74.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.69, allocations: 146.7 kB / 0.7668 GB, free: 74.52 MB / 458.7 MB Notification: Performance of SimCode: time 8.81e-07/1.69, allocations: 3.438 kB / 0.7668 GB, free: 74.52 MB / 458.7 MB Notification: Performance of Templates: time 0.05226/1.742, allocations: 25.36 MB / 0.7915 GB, free: 73.34 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1)