Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",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.001695/0.001695, allocations: 175.2 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.0655/0.0655, allocations: 8.707 MB / 21.97 MB, free: 3.707 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.367/1.367, 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.0009035/0.0009039, allocations: 90.56 kB / 299.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.947e-05/4.98e-05, allocations: 4 kB / 359.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 52.54 MB / 412.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.738, allocations: 117 MB / 0.5168 GB, free: 90.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.7382, allocations: 83.2 kB / 0.5168 GB, free: 90.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7693/1.508, allocations: 156 MB / 0.6691 GB, free: 65.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.508, allocations: 0 / 0.6691 GB, free: 65.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005783/1.508, allocations: 88.25 kB / 0.6692 GB, free: 65.29 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.01448/1.523, allocations: 3.489 MB / 0.6726 GB, free: 64.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.523, allocations: 7 kB / 0.6726 GB, free: 64.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002621/1.525, allocations: 0.5531 MB / 0.6732 GB, free: 64.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006154/1.532, allocations: 0.8697 MB / 0.674 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/1.544, allocations: 3.536 MB / 0.6775 GB, free: 63.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/1.545, allocations: 274 kB / 0.6777 GB, free: 63.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/1.547, allocations: 361.9 kB / 0.6781 GB, free: 63.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/1.562, allocations: 4.545 MB / 0.6825 GB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/1.562, allocations: 3.906 kB / 0.6825 GB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.562, allocations: 155.2 kB / 0.6827 GB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/1.562, allocations: 154.7 kB / 0.6828 GB, free: 62.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007951/1.57, allocations: 3.578 MB / 0.6863 GB, free: 62.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/1.595, allocations: 15.6 MB / 0.7016 GB, free: 59.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/1.6, allocations: 6.188 MB / 0.7076 GB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/1.602, allocations: 1.347 MB / 0.7089 GB, free: 54.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006642/1.608, allocations: 4.097 MB / 0.7129 GB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.609, allocations: 49.09 kB / 0.713 GB, free: 53.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 2.615e-06/1.609, allocations: 0 / 0.713 GB, free: 53.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=149): time 0.01078/1.619, allocations: 4.803 MB / 0.7177 GB, free: 52.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.619, allocations: 67.66 kB / 0.7177 GB, free: 52.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/1.623, allocations: 1.777 MB / 0.7195 GB, free: 51.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.624, allocations: 52.23 kB / 0.7195 GB, free: 51.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/1.625, allocations: 1.704 MB / 0.7212 GB, free: 51.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/1.625, allocations: 0.5119 MB / 0.7217 GB, free: 50.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.625, allocations: 39.53 kB / 0.7217 GB, free: 50.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/1.626, allocations: 398.5 kB / 0.7221 GB, free: 50.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.627, allocations: 0.7127 MB / 0.7228 GB, free: 49.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.628, allocations: 1.462 MB / 0.7242 GB, free: 48.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00917/1.637, allocations: 2.523 MB / 0.7267 GB, free: 48.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.942e-05/1.637, allocations: 11.55 kB / 0.7267 GB, free: 48.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005368/1.643, allocations: 2.699 MB / 0.7293 GB, free: 47.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/1.643, allocations: 22.28 kB / 0.7293 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/1.643, allocations: 22.28 kB / 0.7294 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/1.644, allocations: 349.7 kB / 0.7297 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.646, allocations: 474.8 kB / 0.7302 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/1.65, allocations: 3.743 MB / 0.7338 GB, free: 44.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/1.653, allocations: 94.8 kB / 0.7339 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/1.653, allocations: 96.31 kB / 0.734 GB, free: 44.38 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * 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 (247): * Single equations (assignments): 245 * 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 {(3,77.8%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006211/1.654, allocations: 244.3 kB / 0.7342 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006749/1.654, allocations: 219.3 kB / 0.7344 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/1.659, allocations: 1.877 MB / 0.7363 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.659, allocations: 14.19 kB / 0.7363 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.659, allocations: 11.02 kB / 0.7363 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.659, allocations: 7.031 kB / 0.7363 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.67, allocations: 5.283 MB / 0.7415 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.67, allocations: 2.125 kB / 0.7415 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.671, allocations: 255.3 kB / 0.7417 GB, free: 40.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/1.672, allocations: 283.9 kB / 0.742 GB, free: 40.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.672, allocations: 29.69 kB / 0.742 GB, free: 40.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/1.676, allocations: 3.507 MB / 0.7454 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.676, allocations: 3.594 kB / 0.7454 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/1.681, allocations: 2.957 MB / 0.7483 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.682, allocations: 460.1 kB / 0.7488 GB, free: 36.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007693/1.683, allocations: 35.16 kB / 0.7488 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.684, allocations: 55.86 kB / 0.7488 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.685, allocations: 107.3 kB / 0.7489 GB, free: 36.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/1.685, allocations: 46.03 kB / 0.749 GB, free: 36.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002839/1.688, allocations: 1.332 MB / 0.7503 GB, free: 35.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.688, allocations: 0 / 0.7503 GB, free: 35.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003578/1.691, allocations: 0.6824 MB / 0.751 GB, free: 35.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (125): * Single equations (assignments): 124 * 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 {(3,77.8%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005261/1.696, allocations: 4.44 MB / 0.7553 GB, free: 32.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003865/1.7, allocations: 2.144 MB / 0.7574 GB, free: 31.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.7, allocations: 2.953 kB / 0.7574 GB, free: 31.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.702, allocations: 1.031 MB / 0.7584 GB, free: 31.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.705, allocations: 0.5471 MB / 0.7589 GB, free: 31.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.721, allocations: 5.742 MB / 0.7645 GB, free: 28.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/1.724, allocations: 2.506 MB / 0.767 GB, free: 27.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002386/1.726, allocations: 0.4914 MB / 0.7675 GB, free: 27.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/1.728, allocations: 1.318 MB / 0.7687 GB, free: 26.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/1.728, allocations: 0 / 0.7687 GB, free: 26.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09883/1.827, allocations: 57.46 MB / 0.8249 GB, free: 2.941 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.827, allocations: 176.7 kB / 0.825 GB, free: 2.723 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.557/5.384, allocations: 0 / 0.825 GB, free: 2.723 MB / 458.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)