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.001022/0.001022, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03732/0.03732, allocations: 8.702 MB / 21.97 MB, free: 3.727 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.229/1.229, allocations: 221.4 MB / 246 MB, free: 3.562 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.0009303/0.0009303, allocations: 91.94 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.698e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.6318, allocations: 117 MB / 0.5167 GB, free: 90.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.6321, allocations: 72.84 kB / 0.5167 GB, free: 90.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6492/1.281, allocations: 156 MB / 0.669 GB, free: 65.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.128e-06/1.281, allocations: 1.156 kB / 0.669 GB, free: 65.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003671/1.282, allocations: 90.12 kB / 0.6691 GB, free: 65.04 MB / 442.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.01185/1.294, allocations: 3.48 MB / 0.6725 GB, free: 63.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.294, allocations: 12.91 kB / 0.6725 GB, free: 63.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005169/1.299, allocations: 0.8726 MB / 0.6734 GB, free: 63.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008722/1.308, allocations: 3.523 MB / 0.6768 GB, free: 63.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/1.308, allocations: 273.6 kB / 0.6771 GB, free: 63.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007228/1.309, allocations: 366.3 kB / 0.6774 GB, free: 63.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008106/1.317, allocations: 4.526 MB / 0.6819 GB, free: 62.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.799e-05/1.317, allocations: 7.281 kB / 0.6819 GB, free: 62.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/1.317, allocations: 158.7 kB / 0.682 GB, free: 62.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/1.317, allocations: 153.4 kB / 0.6822 GB, free: 62.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/1.324, allocations: 3.571 MB / 0.6857 GB, free: 62.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/1.347, allocations: 15.45 MB / 0.7007 GB, free: 59.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/1.351, allocations: 5.964 MB / 0.7066 GB, free: 54.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/1.353, allocations: 1.201 MB / 0.7077 GB, free: 54.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/1.359, allocations: 3.999 MB / 0.7116 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.359, allocations: 46.25 kB / 0.7117 GB, free: 53.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 3.246e-06/1.359, allocations: 0 / 0.7117 GB, free: 53.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=137): time 0.007567/1.366, allocations: 4.317 MB / 0.7159 GB, free: 52.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/1.366, allocations: 68.22 kB / 0.716 GB, free: 52.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/1.369, allocations: 1.849 MB / 0.7178 GB, free: 51.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/1.369, allocations: 45.64 kB / 0.7178 GB, free: 51.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/1.37, allocations: 1.744 MB / 0.7195 GB, free: 51.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.37, allocations: 481.1 kB / 0.72 GB, free: 50.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/1.37, allocations: 42.97 kB / 0.72 GB, free: 50.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/1.37, allocations: 388.8 kB / 0.7204 GB, free: 50.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/1.371, allocations: 0.7039 MB / 0.7211 GB, free: 50.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.372, allocations: 1.464 MB / 0.7225 GB, free: 49.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008619/1.381, allocations: 2.537 MB / 0.725 GB, free: 48.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/1.381, allocations: 10.69 kB / 0.725 GB, free: 48.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.00374/1.385, allocations: 2.616 MB / 0.7275 GB, free: 47.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/1.385, allocations: 15.56 kB / 0.7276 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.385, allocations: 23.22 kB / 0.7276 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007047/1.386, allocations: 279.5 kB / 0.7279 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.387, allocations: 480.5 kB / 0.7283 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/1.39, allocations: 3.084 MB / 0.7313 GB, free: 45.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.392, allocations: 95.31 kB / 0.7314 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.392, allocations: 102.9 kB / 0.7315 GB, free: 45.4 MB / 442.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: 111 * 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 (251): * Single equations (assignments): 249 * 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.0002947/1.392, allocations: 244.1 kB / 0.7317 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.392, allocations: 224.7 kB / 0.732 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.395, allocations: 1.662 MB / 0.7336 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.395, allocations: 16.22 kB / 0.7336 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.395, allocations: 2.781 kB / 0.7336 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.395, allocations: 10.78 kB / 0.7336 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007005/1.402, allocations: 4.854 MB / 0.7383 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.402, allocations: 3.938 kB / 0.7384 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/1.403, allocations: 240.3 kB / 0.7386 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.404, allocations: 210.8 kB / 0.7388 GB, free: 42.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/1.404, allocations: 34.95 kB / 0.7388 GB, free: 42.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/1.406, allocations: 2.956 MB / 0.7417 GB, free: 39.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/1.406, allocations: 6.625 kB / 0.7417 GB, free: 39.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/1.41, allocations: 2.65 MB / 0.7443 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.411, allocations: 452.2 kB / 0.7447 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.411, allocations: 31 kB / 0.7448 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/1.412, allocations: 63.8 kB / 0.7448 GB, free: 38.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.412, allocations: 93.17 kB / 0.7449 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/1.412, allocations: 41.41 kB / 0.7449 GB, free: 38.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001801/1.414, allocations: 1.387 MB / 0.7463 GB, free: 37.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.414, allocations: 0 / 0.7463 GB, free: 37.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002029/1.416, allocations: 0.6707 MB / 0.747 GB, free: 37.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.is[1],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 117 * 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.0005175/1.416, allocations: 441.8 kB / 0.7474 GB, free: 37.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002651/1.419, allocations: 2.007 MB / 0.7493 GB, free: 36.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.419, allocations: 3.344 kB / 0.7493 GB, free: 36.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.42, allocations: 0.89 MB / 0.7502 GB, free: 35.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.422, allocations: 0.5377 MB / 0.7507 GB, free: 35.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/1.43, allocations: 4.743 MB / 0.7554 GB, free: 33.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.432, allocations: 2.481 MB / 0.7578 GB, free: 32.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001789/1.434, allocations: 0.491 MB / 0.7583 GB, free: 32.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.434, allocations: 149.4 kB / 0.7584 GB, free: 32.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/1.434, allocations: 0 / 0.7584 GB, free: 32.54 MB / 442.7 MB Notification: Performance of Templates: time 0.04884/1.483, allocations: 31.19 MB / 0.7889 GB, free: 19.71 MB / 442.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)