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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",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.00133/0.00133, allocations: 174.8 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.05241/0.05241, allocations: 8.701 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.378/1.378, allocations: 221.4 MB / 246 MB, free: 3.531 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.0009527/0.0009526, allocations: 90.92 kB / 299.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.304e-05, allocations: 4 kB / 359.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 52.55 MB / 412.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.7439, allocations: 117 MB / 0.5168 GB, free: 43.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.7442, allocations: 75.3 kB / 0.5168 GB, free: 43.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3501/1.094, allocations: 156 MB / 0.6692 GB, free: 3.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.094, allocations: 0 / 0.6692 GB, free: 3.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002783/1.095, allocations: 87.88 kB / 0.6692 GB, free: 3.477 MB / 458.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.3654/1.46, allocations: 3.489 MB / 0.6727 GB, free: 74.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/1.46, allocations: 9.688 kB / 0.6727 GB, free: 74.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003056/1.463, allocations: 0.5425 MB / 0.6732 GB, free: 74.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/1.47, allocations: 0.8693 MB / 0.674 GB, free: 74.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/1.482, allocations: 3.534 MB / 0.6775 GB, free: 74.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/1.482, allocations: 275.1 kB / 0.6778 GB, free: 74.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/1.484, allocations: 367.3 kB / 0.6781 GB, free: 74.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/1.496, allocations: 4.542 MB / 0.6825 GB, free: 73.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/1.496, allocations: 10.73 kB / 0.6825 GB, free: 73.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/1.497, allocations: 156.2 kB / 0.6827 GB, free: 73.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/1.497, allocations: 156.8 kB / 0.6828 GB, free: 73.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/1.504, allocations: 3.576 MB / 0.6863 GB, free: 73.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/1.534, allocations: 15.65 MB / 0.7016 GB, free: 70.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006131/1.54, allocations: 6.119 MB / 0.7076 GB, free: 65.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/1.543, allocations: 1.334 MB / 0.7089 GB, free: 65.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009246/1.552, allocations: 4.094 MB / 0.7129 GB, free: 64.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.552, allocations: 56.58 kB / 0.713 GB, free: 64.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 4.288e-06/1.552, allocations: 2 kB / 0.713 GB, free: 64.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=131): time 0.007994/1.56, allocations: 3.835 MB / 0.7167 GB, free: 63.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.56, allocations: 66.12 kB / 0.7168 GB, free: 63.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/1.564, allocations: 1.704 MB / 0.7184 GB, free: 63.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/1.564, allocations: 45.11 kB / 0.7185 GB, free: 62.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.566, allocations: 1.673 MB / 0.7201 GB, free: 62.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/1.566, allocations: 465.8 kB / 0.7205 GB, free: 61.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.566, allocations: 37.78 kB / 0.7206 GB, free: 61.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/1.566, allocations: 376.1 kB / 0.7209 GB, free: 61.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.567, allocations: 0.605 MB / 0.7215 GB, free: 61.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.569, allocations: 1.299 MB / 0.7228 GB, free: 60.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/1.57, allocations: 0.8648 MB / 0.7236 GB, free: 60.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/1.57, allocations: 7.719 kB / 0.7237 GB, free: 60.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003837/1.574, allocations: 2.338 MB / 0.7259 GB, free: 59.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.574, allocations: 11.34 kB / 0.7259 GB, free: 59.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.941e-05/1.574, allocations: 23.34 kB / 0.726 GB, free: 59.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/1.574, allocations: 152.4 kB / 0.7261 GB, free: 59.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.576, allocations: 452.2 kB / 0.7265 GB, free: 59.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.578, allocations: 1.994 MB / 0.7285 GB, free: 58.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.58, allocations: 84.36 kB / 0.7286 GB, free: 58.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.58, allocations: 89.03 kB / 0.7287 GB, free: 58.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (232): * Single equations (assignments): 230 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000357/1.58, allocations: 232.2 kB / 0.7289 GB, free: 58.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/1.581, allocations: 208.8 kB / 0.7291 GB, free: 57.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/1.584, allocations: 1.922 MB / 0.731 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.584, allocations: 15.7 kB / 0.731 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.584, allocations: 10.72 kB / 0.731 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.584, allocations: 7.828 kB / 0.731 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009284/1.594, allocations: 4.765 MB / 0.7356 GB, free: 54.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.594, allocations: 0 / 0.7356 GB, free: 54.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/1.594, allocations: 201.9 kB / 0.7358 GB, free: 54.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007968/1.595, allocations: 318.1 kB / 0.7361 GB, free: 54.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.595, allocations: 37.8 kB / 0.7362 GB, free: 54.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/1.601, allocations: 6.462 MB / 0.7425 GB, free: 49.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.601, allocations: 3.906 kB / 0.7425 GB, free: 49.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/1.605, allocations: 2.88 MB / 0.7453 GB, free: 47.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.607, allocations: 423.2 kB / 0.7457 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007127/1.607, allocations: 35 kB / 0.7457 GB, free: 47.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.609, allocations: 54.67 kB / 0.7458 GB, free: 47.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/1.609, allocations: 99.72 kB / 0.7459 GB, free: 47.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/1.609, allocations: 38.97 kB / 0.7459 GB, free: 47.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002903/1.612, allocations: 1.284 MB / 0.7472 GB, free: 46.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.612, allocations: 0 / 0.7472 GB, free: 46.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003776/1.616, allocations: 0.6447 MB / 0.7478 GB, free: 46.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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.005545/1.622, allocations: 4.248 MB / 0.752 GB, free: 44.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/1.625, allocations: 1.764 MB / 0.7537 GB, free: 43.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.625, allocations: 0 / 0.7537 GB, free: 43.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.626, allocations: 1.168 MB / 0.7548 GB, free: 42.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.63, allocations: 0.5286 MB / 0.7553 GB, free: 42.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.648, allocations: 5.601 MB / 0.7608 GB, free: 40.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.651, allocations: 2.457 MB / 0.7632 GB, free: 39.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002503/1.654, allocations: 464.3 kB / 0.7636 GB, free: 39.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.656, allocations: 1.264 MB / 0.7649 GB, free: 38.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/1.656, allocations: 2.812 kB / 0.7649 GB, free: 38.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09684/1.753, allocations: 54.61 MB / 0.8182 GB, free: 11.65 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.753, allocations: 178.8 kB / 0.8184 GB, free: 11.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.718/5.471, allocations: 7.938 kB / 0.8184 GB, free: 11.42 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)