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.0009531/0.0009531, allocations: 174.7 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.03777/0.03777, allocations: 8.702 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.296/1.296, allocations: 221.4 MB / 246 MB, free: 3.555 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.001025/0.001025, allocations: 95.28 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.566e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.7253, allocations: 120.3 MB / 0.5199 GB, free: 44.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.7256, allocations: 83.83 kB / 0.52 GB, free: 44.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6403/1.366, allocations: 163.1 MB / 0.6793 GB, free: 74.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.366, allocations: 0 / 0.6793 GB, free: 74.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003381/1.366, allocations: 106.6 kB / 0.6794 GB, free: 74.28 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01366/1.38, allocations: 3.92 MB / 0.6832 GB, free: 73.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.38, allocations: 9.625 kB / 0.6832 GB, free: 73.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/1.386, allocations: 0.9177 MB / 0.6841 GB, free: 72.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/1.397, allocations: 3.833 MB / 0.6879 GB, free: 72.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/1.397, allocations: 300.9 kB / 0.6881 GB, free: 72.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.398, allocations: 399 kB / 0.6885 GB, free: 72.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.409, allocations: 5.021 MB / 0.6934 GB, free: 71.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.943e-05/1.409, allocations: 6.281 kB / 0.6934 GB, free: 71.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004287/1.409, allocations: 168.2 kB / 0.6936 GB, free: 71.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/1.409, allocations: 172.3 kB / 0.6938 GB, free: 71.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007703/1.417, allocations: 4.043 MB / 0.6977 GB, free: 71.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/1.443, allocations: 16.94 MB / 0.7142 GB, free: 67.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/1.449, allocations: 8.376 MB / 0.7224 GB, free: 61.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/1.451, allocations: 1.622 MB / 0.724 GB, free: 61.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007476/1.458, allocations: 4.86 MB / 0.7288 GB, free: 60.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.458, allocations: 55.09 kB / 0.7288 GB, free: 60.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 4.398e-06/1.458, allocations: 0 / 0.7288 GB, free: 60.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=154): time 0.007963/1.466, allocations: 4.503 MB / 0.7332 GB, free: 58.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.467, allocations: 75.5 kB / 0.7333 GB, free: 58.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.47, allocations: 1.973 MB / 0.7352 GB, free: 57.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.47, allocations: 49.11 kB / 0.7353 GB, free: 57.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/1.471, allocations: 1.849 MB / 0.7371 GB, free: 56.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000413/1.471, allocations: 0.5289 MB / 0.7376 GB, free: 55.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/1.471, allocations: 43.75 kB / 0.7376 GB, free: 55.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.472, allocations: 390.1 kB / 0.738 GB, free: 55.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.473, allocations: 0.751 MB / 0.7387 GB, free: 55.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.474, allocations: 1.426 MB / 0.7401 GB, free: 54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.475, allocations: 1.03 MB / 0.7411 GB, free: 53.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.475, allocations: 7.312 kB / 0.7411 GB, free: 53.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003627/1.479, allocations: 2.669 MB / 0.7437 GB, free: 52.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.479, allocations: 14.16 kB / 0.7437 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/1.479, allocations: 21.19 kB / 0.7438 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/1.479, allocations: 123.7 kB / 0.7439 GB, free: 52.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.481, allocations: 0.5395 MB / 0.7444 GB, free: 52.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.482, allocations: 1.822 MB / 0.7462 GB, free: 50.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.484, allocations: 122.8 kB / 0.7463 GB, free: 50.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.484, allocations: 93.81 kB / 0.7464 GB, free: 50.89 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 (259): * Single equations (assignments): 257 * 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.0002799/1.484, allocations: 240.4 kB / 0.7466 GB, free: 50.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.485, allocations: 244.4 kB / 0.7469 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/1.488, allocations: 2.275 MB / 0.7491 GB, free: 49.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.488, allocations: 17.92 kB / 0.7491 GB, free: 49.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.488, allocations: 7.875 kB / 0.7491 GB, free: 49.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.488, allocations: 7.547 kB / 0.7491 GB, free: 49.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.496, allocations: 5.552 MB / 0.7545 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.496, allocations: 0.9375 kB / 0.7545 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.497, allocations: 291.8 kB / 0.7548 GB, free: 47.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/1.498, allocations: 295.3 kB / 0.7551 GB, free: 46.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.993e-05/1.498, allocations: 38.59 kB / 0.7551 GB, free: 46.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/1.503, allocations: 6.335 MB / 0.7613 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.503, allocations: 2.25 kB / 0.7613 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/1.507, allocations: 3.405 MB / 0.7646 GB, free: 39.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.509, allocations: 0.4884 MB / 0.7651 GB, free: 39.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/1.509, allocations: 31.75 kB / 0.7652 GB, free: 39.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.51, allocations: 88.84 kB / 0.7652 GB, free: 39.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.51, allocations: 118 kB / 0.7654 GB, free: 39.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/1.511, allocations: 44.56 kB / 0.7654 GB, free: 39.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002267/1.513, allocations: 1.49 MB / 0.7668 GB, free: 38.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.513, allocations: 0 / 0.7668 GB, free: 38.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002942/1.516, allocations: 0.7126 MB / 0.7675 GB, free: 38.75 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 (126): * Single equations (assignments): 123 * 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.0007978/1.517, allocations: 448.3 kB / 0.768 GB, free: 38.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002987/1.52, allocations: 2.082 MB / 0.77 GB, free: 37.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.52, allocations: 0 / 0.77 GB, free: 37.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.521, allocations: 1.347 MB / 0.7713 GB, free: 36.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.525, allocations: 0.5655 MB / 0.7719 GB, free: 36.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.536, allocations: 5.517 MB / 0.7773 GB, free: 34.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/1.538, allocations: 2.737 MB / 0.7799 GB, free: 33.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002131/1.54, allocations: 0.5482 MB / 0.7805 GB, free: 33.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/1.54, allocations: 156.6 kB / 0.7806 GB, free: 33.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/1.541, allocations: 0 / 0.7806 GB, free: 33.25 MB / 458.7 MB Notification: Performance of Templates: time 0.05646/1.597, allocations: 33.16 MB / 0.813 GB, free: 16.26 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)