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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 173.1 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06126/0.06126, allocations: 8.778 MB / 25.64 MB, free: 3.82 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008058/0.0008056, allocations: 90.34 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004211, allocations: 16 kB / 344.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.6679, allocations: 120.4 MB / 0.5028 GB, free: 103.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.6681, allocations: 76.91 kB / 0.5029 GB, free: 103.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.586/1.254, allocations: 162.7 MB / 0.6618 GB, free: 62.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.254, allocations: 0 / 0.6618 GB, free: 62.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003146/1.255, allocations: 108.3 kB / 0.6619 GB, free: 62.57 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01301/1.268, allocations: 4.324 MB / 0.6661 GB, free: 61.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.268, allocations: 7.875 kB / 0.6661 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/1.273, allocations: 0.9267 MB / 0.667 GB, free: 60.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008321/1.281, allocations: 3.273 MB / 0.6702 GB, free: 60.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/1.282, allocations: 299.6 kB / 0.6705 GB, free: 60.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/1.283, allocations: 400.3 kB / 0.6709 GB, free: 60.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/1.295, allocations: 5.177 MB / 0.6759 GB, free: 59.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.633e-05/1.295, allocations: 7.844 kB / 0.6759 GB, free: 59.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/1.296, allocations: 170.8 kB / 0.6761 GB, free: 59.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/1.296, allocations: 168.3 kB / 0.6762 GB, free: 59.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007455/1.303, allocations: 4.224 MB / 0.6804 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02493/1.328, allocations: 16.91 MB / 0.6969 GB, free: 56.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/1.334, allocations: 8.52 MB / 0.7052 GB, free: 49.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/1.337, allocations: 1.707 MB / 0.7069 GB, free: 49.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00844/1.346, allocations: 4.903 MB / 0.7117 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.346, allocations: 54.53 kB / 0.7117 GB, free: 48.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 3.637e-06/1.346, allocations: 0 / 0.7117 GB, free: 48.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.01044/1.356, allocations: 6.123 MB / 0.7177 GB, free: 46.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.356, allocations: 67.09 kB / 0.7178 GB, free: 46.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/1.359, allocations: 2.257 MB / 0.72 GB, free: 45.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.359, allocations: 49.48 kB / 0.72 GB, free: 45.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/1.36, allocations: 1.84 MB / 0.7218 GB, free: 44.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/1.36, allocations: 0.5481 MB / 0.7223 GB, free: 43.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/1.36, allocations: 42.44 kB / 0.7224 GB, free: 43.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/1.361, allocations: 391.6 kB / 0.7228 GB, free: 43.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.362, allocations: 0.8283 MB / 0.7236 GB, free: 43.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/1.363, allocations: 1.528 MB / 0.7251 GB, free: 41.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/1.366, allocations: 2.511 MB / 0.7275 GB, free: 40.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.366, allocations: 6.5 kB / 0.7275 GB, free: 40.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004293/1.371, allocations: 2.845 MB / 0.7303 GB, free: 39.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.371, allocations: 15.66 kB / 0.7303 GB, free: 39.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.371, allocations: 24.91 kB / 0.7303 GB, free: 39.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/1.371, allocations: 131.3 kB / 0.7305 GB, free: 39.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.373, allocations: 0.5465 MB / 0.731 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.374, allocations: 1.828 MB / 0.7328 GB, free: 37.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.376, allocations: 121.3 kB / 0.7329 GB, free: 37.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.376, allocations: 93.83 kB / 0.733 GB, free: 37.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * 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.002345/1.379, allocations: 1.192 MB / 0.7341 GB, free: 36.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/1.379, allocations: 240.9 kB / 0.7344 GB, free: 36.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/1.383, allocations: 2.443 MB / 0.7368 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.383, allocations: 14.59 kB / 0.7368 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.383, allocations: 7.812 kB / 0.7368 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.383, allocations: 7.219 kB / 0.7368 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009662/1.393, allocations: 5.752 MB / 0.7424 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.393, allocations: 2.312 kB / 0.7424 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.394, allocations: 302.3 kB / 0.7427 GB, free: 32.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007337/1.395, allocations: 314.3 kB / 0.743 GB, free: 32.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/1.395, allocations: 40.61 kB / 0.743 GB, free: 32.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/1.4, allocations: 6.359 MB / 0.7492 GB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.4, allocations: 6.781 kB / 0.7493 GB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/1.405, allocations: 3.535 MB / 0.7527 GB, free: 25.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.406, allocations: 0.4956 MB / 0.7532 GB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/1.406, allocations: 38.19 kB / 0.7532 GB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.407, allocations: 95.91 kB / 0.7533 GB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.408, allocations: 118.4 kB / 0.7534 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/1.408, allocations: 42.16 kB / 0.7535 GB, free: 25.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002111/1.41, allocations: 1.525 MB / 0.755 GB, free: 24.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.41, allocations: 0 / 0.755 GB, free: 24.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002585/1.413, allocations: 0.717 MB / 0.7557 GB, free: 24.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * 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.0006123/1.413, allocations: 380.2 kB / 0.756 GB, free: 24.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003425/1.417, allocations: 2.251 MB / 0.7582 GB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.417, allocations: 0 / 0.7582 GB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.419, allocations: 1.445 MB / 0.7596 GB, free: 22.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.422, allocations: 0.583 MB / 0.7602 GB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.435, allocations: 8.344 MB / 0.7683 GB, free: 17.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/1.437, allocations: 2.671 MB / 0.771 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002231/1.439, allocations: 0.5517 MB / 0.7715 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/1.439, allocations: 162.2 kB / 0.7716 GB, free: 14.86 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.439, allocations: 0 / 0.7716 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Templates: time 0.05806/1.497, allocations: 33.11 MB / 0.804 GB, free: 11.05 MB / 442.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)