Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005602/0.005602, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03828/0.03828, allocations: 8.8 MB / 24.65 MB, free: 4.086 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.206/1.206, allocations: 223.2 MB / 250.7 MB, free: 6.465 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: 93.3 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003672, allocations: 12 kB / 367.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 52.54 MB / 419.6 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3471, allocations: 117.1 MB / 0.5241 GB, free: 3.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3473, allocations: 79.97 kB / 0.5242 GB, free: 3.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.474/0.8214, allocations: 156 MB / 0.6765 GB, free: 26.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8214, allocations: 0 / 0.6765 GB, free: 26.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002409/0.8216, allocations: 91.88 kB / 0.6766 GB, free: 26.89 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.009088/0.8307, allocations: 3.875 MB / 0.6804 GB, free: 22.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.8308, allocations: 16.55 kB / 0.6804 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.8355, allocations: 0.8657 MB / 0.6812 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008044/0.8436, allocations: 3.559 MB / 0.6847 GB, free: 18.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.8438, allocations: 283.4 kB / 0.685 GB, free: 18.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008968/0.8447, allocations: 363.9 kB / 0.6853 GB, free: 17.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/0.8532, allocations: 4.599 MB / 0.6898 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.8534, allocations: 4 kB / 0.6898 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005804/0.8539, allocations: 152 kB / 0.6899 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.8541, allocations: 159.3 kB / 0.6901 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/0.8606, allocations: 3.66 MB / 0.6937 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.8828, allocations: 15.38 MB / 0.7087 GB, free: 9.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.8883, allocations: 6.034 MB / 0.7146 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006808/0.8951, allocations: 4.111 MB / 0.7186 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.8952, allocations: 51.5 kB / 0.7187 GB, free: 14.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 2.324e-06/0.8952, allocations: 0 / 0.7187 GB, free: 14.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.009472/0.9047, allocations: 5.02 MB / 0.7236 GB, free: 9.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.9047, allocations: 72.67 kB / 0.7236 GB, free: 8.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.9077, allocations: 1.861 MB / 0.7254 GB, free: 7.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.9079, allocations: 49.7 kB / 0.7255 GB, free: 6.988 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.909, allocations: 1.722 MB / 0.7272 GB, free: 5.242 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.9094, allocations: 0.5123 MB / 0.7277 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.9095, allocations: 40 kB / 0.7277 GB, free: 4.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9097, allocations: 398.3 kB / 0.7281 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.9109, allocations: 0.754 MB / 0.7288 GB, free: 3.531 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.9125, allocations: 1.494 MB / 0.7303 GB, free: 1.695 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1977/1.11, allocations: 2.624 MB / 0.7328 GB, free: 75.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/1.11, allocations: 11.62 kB / 0.7329 GB, free: 75.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005041/1.115, allocations: 2.75 MB / 0.7355 GB, free: 75.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/1.115, allocations: 20 kB / 0.7356 GB, free: 75.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/1.115, allocations: 22.56 kB / 0.7356 GB, free: 75.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/1.116, allocations: 284.4 kB / 0.7359 GB, free: 75.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.118, allocations: 497.5 kB / 0.7363 GB, free: 75.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/1.121, allocations: 3.171 MB / 0.7394 GB, free: 74.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.123, allocations: 104.4 kB / 0.7395 GB, free: 74.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/1.123, allocations: 99.09 kB / 0.7396 GB, free: 74.05 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (260): * Single equations (assignments): 258 * 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 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001726/1.124, allocations: 1.085 MB / 0.7407 GB, free: 73.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/1.125, allocations: 223.9 kB / 0.7409 GB, free: 73.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.128, allocations: 1.771 MB / 0.7426 GB, free: 73.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.128, allocations: 14.09 kB / 0.7426 GB, free: 73.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.128, allocations: 3.625 kB / 0.7426 GB, free: 73.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/1.128, allocations: 10.31 kB / 0.7427 GB, free: 73.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006868/1.134, allocations: 5.04 MB / 0.7476 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.134, allocations: 0 / 0.7476 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.136, allocations: 271 kB / 0.7478 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/1.136, allocations: 220 kB / 0.748 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/1.136, allocations: 37.47 kB / 0.7481 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/1.139, allocations: 3.037 MB / 0.751 GB, free: 71.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.139, allocations: 10.45 kB / 0.7511 GB, free: 71.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/1.142, allocations: 2.833 MB / 0.7538 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/1.143, allocations: 467.2 kB / 0.7543 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.143, allocations: 35.97 kB / 0.7543 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/1.144, allocations: 60.84 kB / 0.7544 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.144, allocations: 98.08 kB / 0.7544 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/1.144, allocations: 46.66 kB / 0.7545 GB, free: 71.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001623/1.146, allocations: 1.405 MB / 0.7559 GB, free: 71.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.413e-06/1.146, allocations: 0 / 0.7559 GB, free: 71.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002161/1.148, allocations: 0.6811 MB / 0.7565 GB, free: 71.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re) * 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006396/1.149, allocations: 359.7 kB / 0.7569 GB, free: 71.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003038/1.152, allocations: 2.133 MB / 0.759 GB, free: 70.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.152, allocations: 0.9688 kB / 0.759 GB, free: 70.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.153, allocations: 0.9633 MB / 0.7599 GB, free: 70.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.155, allocations: 0.5319 MB / 0.7604 GB, free: 70.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/1.165, allocations: 7.27 MB / 0.7675 GB, free: 67.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/1.167, allocations: 2.486 MB / 0.7699 GB, free: 66.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001842/1.169, allocations: 0.5028 MB / 0.7704 GB, free: 66.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/1.169, allocations: 156.4 kB / 0.7706 GB, free: 66.6 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/1.169, allocations: 0 / 0.7706 GB, free: 66.6 MB / 458.7 MB Notification: Performance of Templates: time 0.05264/1.222, allocations: 31 MB / 0.8009 GB, free: 65.24 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)