Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004641/0.004641, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0356/0.0356, allocations: 8.801 MB / 24.65 MB, free: 4.117 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.185/1.185, allocations: 223.2 MB / 250.7 MB, free: 6.543 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.0008528/0.0008525, allocations: 95.02 kB / 304 MB, free: 3.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 16 kB / 367.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 52.53 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3496, allocations: 117.1 MB / 0.5241 GB, free: 3.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3498, allocations: 83.95 kB / 0.5242 GB, free: 3.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.479/0.8288, allocations: 156 MB / 0.6765 GB, free: 26.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8288, allocations: 4 kB / 0.6765 GB, free: 26.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002227/0.8291, allocations: 91.81 kB / 0.6766 GB, free: 26.8 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.008691/0.8378, allocations: 3.875 MB / 0.6804 GB, free: 22.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8378, allocations: 12.56 kB / 0.6804 GB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.8421, allocations: 0.8657 MB / 0.6812 GB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/0.8491, allocations: 3.556 MB / 0.6847 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.8492, allocations: 287.4 kB / 0.685 GB, free: 18.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/0.8497, allocations: 367.9 kB / 0.6853 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006188/0.8559, allocations: 4.596 MB / 0.6898 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.559e-05/0.856, allocations: 11.98 kB / 0.6898 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.8563, allocations: 152 kB / 0.69 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/0.8564, allocations: 155.3 kB / 0.6901 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.8612, allocations: 3.66 MB / 0.6937 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.8798, allocations: 15.6 MB / 0.7089 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00544/0.8853, allocations: 6.186 MB / 0.715 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006596/0.8919, allocations: 4.203 MB / 0.7191 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.892, allocations: 47.88 kB / 0.7191 GB, free: 13.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=143): time 2.634e-06/0.892, allocations: 4 kB / 0.7191 GB, free: 13.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.009815/0.9018, allocations: 5.413 MB / 0.7244 GB, free: 8.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.9019, allocations: 68.72 kB / 0.7245 GB, free: 7.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.9042, allocations: 1.716 MB / 0.7262 GB, free: 6.191 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.9043, allocations: 53.64 kB / 0.7262 GB, free: 6.133 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.9054, allocations: 1.641 MB / 0.7278 GB, free: 4.469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.9058, allocations: 0.5084 MB / 0.7283 GB, free: 3.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.9059, allocations: 40 kB / 0.7283 GB, free: 3.914 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.906, allocations: 377.9 kB / 0.7287 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.9071, allocations: 0.6793 MB / 0.7294 GB, free: 2.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.9085, allocations: 1.342 MB / 0.7307 GB, free: 1.215 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.9098, allocations: 0.9316 MB / 0.7316 GB, free: 292 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.9098, allocations: 8 kB / 0.7316 GB, free: 284 kB / 458.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.1787/1.089, allocations: 2.521 MB / 0.7341 GB, free: 76.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.089, allocations: 15.03 kB / 0.7341 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.089, allocations: 22.56 kB / 0.7341 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/1.089, allocations: 182.2 kB / 0.7343 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.09, allocations: 467.2 kB / 0.7347 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/1.092, allocations: 2.315 MB / 0.737 GB, free: 74.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.093, allocations: 81.38 kB / 0.737 GB, free: 74.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.094, allocations: 89 kB / 0.7371 GB, free: 74.94 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (242): * Single equations (assignments): 240 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001509/1.095, allocations: 1.058 MB / 0.7382 GB, free: 74.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/1.095, allocations: 219.4 kB / 0.7384 GB, free: 74.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.098, allocations: 2.134 MB / 0.7405 GB, free: 74.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.098, allocations: 14.44 kB / 0.7405 GB, free: 74.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.098, allocations: 9.469 kB / 0.7405 GB, free: 74.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.098, allocations: 7.688 kB / 0.7405 GB, free: 74.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/1.104, allocations: 5.21 MB / 0.7456 GB, free: 73.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.104, allocations: 0 / 0.7456 GB, free: 73.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/1.105, allocations: 229.5 kB / 0.7458 GB, free: 73.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00069/1.106, allocations: 322.2 kB / 0.7461 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/1.106, allocations: 32.34 kB / 0.7461 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/1.111, allocations: 6.611 MB / 0.7526 GB, free: 69.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.111, allocations: 4.312 kB / 0.7526 GB, free: 69.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/1.114, allocations: 3.218 MB / 0.7557 GB, free: 69.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/1.115, allocations: 441.6 kB / 0.7562 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/1.115, allocations: 30.59 kB / 0.7562 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/1.116, allocations: 68.28 kB / 0.7563 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.116, allocations: 106.6 kB / 0.7564 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/1.116, allocations: 46.55 kB / 0.7564 GB, free: 68.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001469/1.118, allocations: 1.301 MB / 0.7577 GB, free: 68.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 0.7577 GB, free: 68.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001924/1.119, allocations: 0.647 MB / 0.7583 GB, free: 68.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smee.phiMechanical,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) * 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 (116): * Single equations (assignments): 113 * 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%) 8,(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.0005188/1.12, allocations: 371.9 kB / 0.7587 GB, free: 68.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00267/1.123, allocations: 1.939 MB / 0.7606 GB, free: 68.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.123, allocations: 1.75 kB / 0.7606 GB, free: 68.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.124, allocations: 1.263 MB / 0.7618 GB, free: 67.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.126, allocations: 0.537 MB / 0.7623 GB, free: 67.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/1.135, allocations: 7.34 MB / 0.7695 GB, free: 64.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.137, allocations: 2.472 MB / 0.7719 GB, free: 63.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001639/1.138, allocations: 477.2 kB / 0.7723 GB, free: 63.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.139, allocations: 144.7 kB / 0.7725 GB, free: 63.89 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/1.139, allocations: 0.75 kB / 0.7725 GB, free: 63.89 MB / 458.7 MB Notification: Performance of Templates: time 0.04362/1.182, allocations: 30.04 MB / 0.8018 GB, free: 62.54 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)