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.0009701/0.0009701, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03912/0.03912, allocations: 8.711 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 240.8 MB, free: 13.13 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.0009321/0.0009322, allocations: 98.94 kB / 293.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.405e-05, allocations: 4 kB / 352.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 52.55 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5696, allocations: 116.3 MB / 0.5094 GB, free: 3.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.57, allocations: 83.02 kB / 0.5095 GB, free: 3.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6018/1.172, allocations: 153.9 MB / 0.6598 GB, free: 66.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.172, allocations: 0 / 0.6598 GB, free: 66.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002279/1.172, allocations: 98.59 kB / 0.6599 GB, free: 66.52 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.009099/1.181, allocations: 3.481 MB / 0.6633 GB, free: 64.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.181, allocations: 15.39 kB / 0.6633 GB, free: 64.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/1.186, allocations: 0.8704 MB / 0.6641 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008416/1.195, allocations: 3.516 MB / 0.6676 GB, free: 61.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.195, allocations: 121.1 kB / 0.6677 GB, free: 61.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/1.196, allocations: 218.6 kB / 0.6679 GB, free: 61.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005874/1.202, allocations: 3.364 MB / 0.6712 GB, free: 59.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/1.208, allocations: 3.991 MB / 0.6751 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-05/1.208, allocations: 15.59 kB / 0.6751 GB, free: 57.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/1.208, allocations: 3.781 kB / 0.6751 GB, free: 57.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.208, allocations: 158.5 kB / 0.6752 GB, free: 57.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/1.231, allocations: 14.89 MB / 0.6898 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/1.235, allocations: 6.115 MB / 0.6958 GB, free: 38.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.237, allocations: 1.281 MB / 0.697 GB, free: 37.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006339/1.244, allocations: 3.988 MB / 0.7009 GB, free: 33.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.244, allocations: 43.88 kB / 0.7009 GB, free: 33.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 3.085e-06/1.244, allocations: 0 / 0.7009 GB, free: 33.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=149): time 0.0104/1.254, allocations: 5.054 MB / 0.7059 GB, free: 28.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/1.254, allocations: 68.72 kB / 0.7059 GB, free: 28.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/1.256, allocations: 1.438 MB / 0.7073 GB, free: 26.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.257, allocations: 25.7 kB / 0.7074 GB, free: 26.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/1.257, allocations: 1.72 MB / 0.709 GB, free: 24.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/1.258, allocations: 0.4889 MB / 0.7095 GB, free: 24.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/1.258, allocations: 0 / 0.7095 GB, free: 24.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/1.258, allocations: 398.1 kB / 0.7099 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/1.259, allocations: 0.6759 MB / 0.7106 GB, free: 23.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.26, allocations: 1.405 MB / 0.7119 GB, free: 21.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006288/1.266, allocations: 2.225 MB / 0.7141 GB, free: 19.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/1.266, allocations: 8 kB / 0.7141 GB, free: 19.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005406/1.272, allocations: 2.602 MB / 0.7167 GB, free: 16.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.272, allocations: 16 kB / 0.7167 GB, free: 16.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/1.272, allocations: 31.92 kB / 0.7167 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.273, allocations: 352.4 kB / 0.717 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.275, allocations: 463.3 kB / 0.7175 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/1.281, allocations: 3.591 MB / 0.721 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/1.284, allocations: 43.89 kB / 0.721 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/1.284, allocations: 99.98 kB / 0.7211 GB, free: 12.09 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.0006762/1.285, allocations: 176.1 kB / 0.7213 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005235/1.29, allocations: 1.749 MB / 0.723 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/1.291, allocations: 201.6 kB / 0.7232 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/1.296, allocations: 1.842 MB / 0.725 GB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.296, allocations: 16 kB / 0.725 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.296, allocations: 8 kB / 0.725 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.296, allocations: 7.969 kB / 0.725 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.309, allocations: 4.758 MB / 0.7297 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.309, allocations: 0 / 0.7297 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.311, allocations: 259.9 kB / 0.7299 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009877/1.312, allocations: 276.6 kB / 0.7302 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.312, allocations: 15.98 kB / 0.7302 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/1.317, allocations: 3.366 MB / 0.7335 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/1.317, allocations: 15.97 kB / 0.7335 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006102/1.323, allocations: 2.887 MB / 0.7363 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.325, allocations: 426.6 kB / 0.7367 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/1.325, allocations: 8 kB / 0.7367 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.327, allocations: 39.91 kB / 0.7368 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.327, allocations: 109.2 kB / 0.7369 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.327, allocations: 40.11 kB / 0.7369 GB, free: 11.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002627/1.33, allocations: 1.057 MB / 0.7379 GB, free: 10.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.33, allocations: 0 / 0.7379 GB, free: 10.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003288/1.333, allocations: 0.5703 MB / 0.7385 GB, free: 9.965 MB / 458.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.006161/1.339, allocations: 4.327 MB / 0.7427 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00374/1.343, allocations: 2.018 MB / 0.7447 GB, free: 3.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.343, allocations: 0 / 0.7447 GB, free: 3.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.345, allocations: 0.9781 MB / 0.7457 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/1.348, allocations: 405.1 kB / 0.746 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/1.645, allocations: 5.555 MB / 0.7515 GB, free: 86.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/1.648, allocations: 2.498 MB / 0.7539 GB, free: 85.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002242/1.65, allocations: 469 kB / 0.7544 GB, free: 85.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.652, allocations: 1.312 MB / 0.7556 GB, free: 85.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/1.652, allocations: 1.219 kB / 0.7556 GB, free: 85.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/1.756, allocations: 47.83 MB / 0.8023 GB, free: 83.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.756, allocations: 145.4 kB / 0.8025 GB, free: 83.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/5.293, allocations: 0 / 0.8025 GB, free: 83.18 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)