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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0394/0.0394, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.51/1.51, allocations: 221.4 MB / 246 MB, free: 3.539 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.0008784/0.0008784, allocations: 100.3 kB / 299.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.91e-05, allocations: 0 / 359.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 52.54 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.7675, allocations: 117 MB / 0.5168 GB, free: 90.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.7679, allocations: 73.84 kB / 0.5168 GB, free: 90.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.686/1.454, allocations: 156 MB / 0.6691 GB, free: 65.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.238e-06/1.454, allocations: 1.969 kB / 0.6691 GB, free: 65.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000442/1.454, allocations: 88.88 kB / 0.6692 GB, free: 65.06 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.01391/1.468, allocations: 3.491 MB / 0.6726 GB, free: 63.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.468, allocations: 9.344 kB / 0.6726 GB, free: 63.98 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001799/1.47, allocations: 0.548 MB / 0.6732 GB, free: 63.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/1.476, allocations: 0.8676 MB / 0.674 GB, free: 63.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/1.487, allocations: 3.531 MB / 0.6775 GB, free: 63.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/1.488, allocations: 277 kB / 0.6777 GB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/1.49, allocations: 361.4 kB / 0.6781 GB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009441/1.499, allocations: 4.528 MB / 0.6825 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/1.499, allocations: 7.688 kB / 0.6825 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/1.5, allocations: 158.8 kB / 0.6827 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.5, allocations: 155.2 kB / 0.6828 GB, free: 62.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/1.507, allocations: 3.571 MB / 0.6863 GB, free: 62.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/1.532, allocations: 15.44 MB / 0.7014 GB, free: 59.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/1.537, allocations: 5.969 MB / 0.7072 GB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/1.538, allocations: 1.201 MB / 0.7084 GB, free: 54.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/1.545, allocations: 3.996 MB / 0.7123 GB, free: 53.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.545, allocations: 44.75 kB / 0.7123 GB, free: 53.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 3.426e-06/1.545, allocations: 0 / 0.7123 GB, free: 53.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=137): time 0.009677/1.555, allocations: 4.32 MB / 0.7165 GB, free: 52.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.555, allocations: 68.25 kB / 0.7166 GB, free: 52.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/1.558, allocations: 1.855 MB / 0.7184 GB, free: 51.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.558, allocations: 47.55 kB / 0.7185 GB, free: 51.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.56, allocations: 1.732 MB / 0.7202 GB, free: 51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/1.56, allocations: 492.1 kB / 0.7206 GB, free: 50.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/1.56, allocations: 41.25 kB / 0.7207 GB, free: 50.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/1.56, allocations: 394.8 kB / 0.721 GB, free: 50.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.561, allocations: 0.7009 MB / 0.7217 GB, free: 50.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.563, allocations: 1.455 MB / 0.7232 GB, free: 49.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009548/1.572, allocations: 2.533 MB / 0.7256 GB, free: 48.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-05/1.572, allocations: 7.875 kB / 0.7256 GB, free: 48.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004961/1.577, allocations: 2.617 MB / 0.7282 GB, free: 47.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.577, allocations: 18.88 kB / 0.7282 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/1.577, allocations: 22.75 kB / 0.7282 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/1.578, allocations: 280.9 kB / 0.7285 GB, free: 47.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.58, allocations: 480.1 kB / 0.729 GB, free: 47.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/1.583, allocations: 3.094 MB / 0.732 GB, free: 45.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.585, allocations: 95.12 kB / 0.7321 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.586, allocations: 92.66 kB / 0.7322 GB, free: 45.08 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.0003906/1.586, allocations: 257.4 kB / 0.7324 GB, free: 44.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/1.586, allocations: 221.1 kB / 0.7326 GB, free: 44.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/1.589, allocations: 1.663 MB / 0.7342 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.589, allocations: 14.41 kB / 0.7342 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.589, allocations: 3.469 kB / 0.7343 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.589, allocations: 7.406 kB / 0.7343 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/1.597, allocations: 4.84 MB / 0.739 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.597, allocations: 3.125 kB / 0.739 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.598, allocations: 245.7 kB / 0.7392 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/1.599, allocations: 210.1 kB / 0.7394 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/1.599, allocations: 36.84 kB / 0.7395 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/1.602, allocations: 2.96 MB / 0.7423 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.602, allocations: 2.25 kB / 0.7424 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/1.606, allocations: 2.65 MB / 0.7449 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.607, allocations: 453.6 kB / 0.7454 GB, free: 37.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/1.607, allocations: 29.53 kB / 0.7454 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/1.608, allocations: 64.83 kB / 0.7455 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.608, allocations: 95.77 kB / 0.7456 GB, free: 37.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/1.608, allocations: 40.23 kB / 0.7456 GB, free: 37.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002177/1.611, allocations: 1.383 MB / 0.7469 GB, free: 37.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.611, allocations: 0 / 0.7469 GB, free: 37.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00352/1.614, allocations: 0.6758 MB / 0.7476 GB, free: 37.05 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.004511/1.619, allocations: 4.071 MB / 0.7516 GB, free: 34.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003238/1.622, allocations: 2.006 MB / 0.7535 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.622, allocations: 6.609 kB / 0.7535 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.623, allocations: 0.8897 MB / 0.7544 GB, free: 33.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.626, allocations: 0.5413 MB / 0.7549 GB, free: 33.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.639, allocations: 5.602 MB / 0.7604 GB, free: 30.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/1.641, allocations: 2.489 MB / 0.7628 GB, free: 29.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002102/1.644, allocations: 0.4928 MB / 0.7633 GB, free: 29.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.645, allocations: 1.31 MB / 0.7646 GB, free: 28.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/1.645, allocations: 0 / 0.7646 GB, free: 28.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09362/1.739, allocations: 56.52 MB / 0.8198 GB, free: 8.09 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.739, allocations: 177.8 kB / 0.82 GB, free: 7.867 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.596/5.335, allocations: 6.844 kB / 0.82 GB, free: 7.863 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)