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.004534/0.004534, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0376/0.0376, allocations: 8.793 MB / 24.65 MB, free: 4.098 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.222/1.222, allocations: 223.2 MB / 250.7 MB, free: 6.547 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.0009045/0.0009045, allocations: 104.1 kB / 304 MB, free: 4.051 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 16 kB / 367.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 52.53 MB / 419.6 MB, free: 48.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3341, allocations: 120.4 MB / 0.5273 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.3344, allocations: 75.97 kB / 0.5274 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4973/0.8317, allocations: 163.1 MB / 0.6867 GB, free: 17.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8317, allocations: 4 kB / 0.6867 GB, free: 17.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003096/0.832, allocations: 95.94 kB / 0.6868 GB, free: 16.98 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.01146/0.8435, allocations: 4.383 MB / 0.6911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8435, allocations: 12.56 kB / 0.6911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.8484, allocations: 0.92 MB / 0.692 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.859, allocations: 3.864 MB / 0.6958 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.8594, allocations: 296.1 kB / 0.6961 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.8611, allocations: 403.9 kB / 0.6965 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.872, allocations: 5.144 MB / 0.7015 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.8721, allocations: 7.984 kB / 0.7015 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006707/0.8728, allocations: 168 kB / 0.7016 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.873, allocations: 168 kB / 0.7018 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007788/0.8808, allocations: 4.236 MB / 0.7059 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.9111, allocations: 16.88 MB / 0.7224 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008022/0.9191, allocations: 8.516 MB / 0.7307 GB, free: 2.129 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2067/1.126, allocations: 4.228 MB / 0.7349 GB, free: 71.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.126, allocations: 54.03 kB / 0.7349 GB, free: 71.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=167): time 3.516e-06/1.126, allocations: 0 / 0.7349 GB, free: 71.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=171): time 0.01086/1.137, allocations: 6.501 MB / 0.7413 GB, free: 70.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.137, allocations: 74.3 kB / 0.7413 GB, free: 70.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/1.139, allocations: 1.981 MB / 0.7433 GB, free: 70.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.14, allocations: 55.61 kB / 0.7433 GB, free: 70.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/1.14, allocations: 1.824 MB / 0.7451 GB, free: 69.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.141, allocations: 0.5827 MB / 0.7457 GB, free: 69.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/1.141, allocations: 42.91 kB / 0.7457 GB, free: 69.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/1.141, allocations: 390.5 kB / 0.7461 GB, free: 69.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.142, allocations: 0.8659 MB / 0.7469 GB, free: 69.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.144, allocations: 1.544 MB / 0.7484 GB, free: 68.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/1.145, allocations: 1.136 MB / 0.7496 GB, free: 68.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.145, allocations: 5.75 kB / 0.7496 GB, free: 68.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.003935/1.149, allocations: 2.91 MB / 0.7524 GB, free: 67.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.149, allocations: 15.53 kB / 0.7524 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.149, allocations: 23.28 kB / 0.7524 GB, free: 67.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/1.149, allocations: 137.3 kB / 0.7526 GB, free: 67.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/1.151, allocations: 0.5515 MB / 0.7531 GB, free: 67.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/1.152, allocations: 1.853 MB / 0.7549 GB, free: 66.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.154, allocations: 119.3 kB / 0.755 GB, free: 66.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.154, allocations: 99.88 kB / 0.7551 GB, free: 66.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (272): * Single equations (assignments): 270 * 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.002049/1.156, allocations: 1.201 MB / 0.7563 GB, free: 66.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/1.157, allocations: 245.8 kB / 0.7565 GB, free: 66.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/1.161, allocations: 2.572 MB / 0.759 GB, free: 65.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.161, allocations: 16.28 kB / 0.7591 GB, free: 65.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.161, allocations: 8.25 kB / 0.7591 GB, free: 65.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.161, allocations: 7.266 kB / 0.7591 GB, free: 65.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009373/1.17, allocations: 6.051 MB / 0.765 GB, free: 65.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/1.17, allocations: 1.375 kB / 0.765 GB, free: 65.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.172, allocations: 325.6 kB / 0.7653 GB, free: 65.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007636/1.172, allocations: 305.2 kB / 0.7656 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.173, allocations: 43.09 kB / 0.7656 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/1.178, allocations: 6.467 MB / 0.7719 GB, free: 61.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.178, allocations: 2.25 kB / 0.7719 GB, free: 61.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/1.183, allocations: 3.898 MB / 0.7758 GB, free: 60.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.184, allocations: 0.4993 MB / 0.7762 GB, free: 60.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/1.184, allocations: 36.94 kB / 0.7763 GB, free: 60.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.185, allocations: 99.17 kB / 0.7764 GB, free: 60.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.186, allocations: 128.8 kB / 0.7765 GB, free: 60.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/1.186, allocations: 47.56 kB / 0.7765 GB, free: 60.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001973/1.188, allocations: 1.515 MB / 0.778 GB, free: 59.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 0 / 0.778 GB, free: 59.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002536/1.19, allocations: 0.7307 MB / 0.7787 GB, free: 59.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 140 * 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.0005875/1.191, allocations: 376.4 kB / 0.7791 GB, free: 59.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003441/1.194, allocations: 2.337 MB / 0.7814 GB, free: 59.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.194, allocations: 1.438 kB / 0.7814 GB, free: 59.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.196, allocations: 1.498 MB / 0.7828 GB, free: 59.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.199, allocations: 0.5642 MB / 0.7834 GB, free: 59.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.21, allocations: 8.422 MB / 0.7916 GB, free: 55.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/1.212, allocations: 2.743 MB / 0.7943 GB, free: 54.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002094/1.214, allocations: 0.5639 MB / 0.7948 GB, free: 54.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/1.214, allocations: 167.4 kB / 0.795 GB, free: 54.62 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/1.214, allocations: 0 / 0.795 GB, free: 54.62 MB / 458.7 MB Notification: Performance of Templates: time 0.05238/1.267, allocations: 33.11 MB / 0.8273 GB, free: 53.14 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)