Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009776/0.0009775, allocations: 86.16 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.079e-05, allocations: 4 kB / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 51.49 MB / 402.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5081, allocations: 125.9 MB / 0.5156 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5084, allocations: 102 kB / 0.5157 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197/1.705, allocations: 285.9 MB / 0.7949 GB, free: 56.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/1.705, allocations: 0.5625 kB / 0.7949 GB, free: 56.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001098/1.707, allocations: 165.6 kB / 0.7951 GB, free: 56 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: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03711/1.744, allocations: 7.35 MB / 0.8022 GB, free: 53.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/1.744, allocations: 9.938 kB / 0.8023 GB, free: 53.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008013/1.752, allocations: 1.077 MB / 0.8033 GB, free: 53.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/1.777, allocations: 4.004 MB / 0.8072 GB, free: 53.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/1.796, allocations: 6.683 MB / 0.8137 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/1.797, allocations: 0.5467 MB / 0.8143 GB, free: 52.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003798/1.801, allocations: 0.7067 MB / 0.815 GB, free: 52.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/1.831, allocations: 12.54 MB / 0.8272 GB, free: 51.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003765/1.832, allocations: 21.03 kB / 0.8272 GB, free: 51.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002776/1.835, allocations: 308.5 kB / 0.8275 GB, free: 51.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007273/1.835, allocations: 0.6033 MB / 0.8281 GB, free: 50.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02577/1.861, allocations: 11.65 MB / 0.8395 GB, free: 46.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06832/1.929, allocations: 41.88 MB / 0.8804 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.951, allocations: 26.12 MB / 0.9059 GB, free: 9.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006033/1.957, allocations: 3.136 MB / 0.909 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/1.958, allocations: 250.4 kB / 0.9092 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/1.958, allocations: 77.72 kB / 0.9093 GB, free: 6.367 MB / 474.7 MB Notification: Performance of pre-optimization done (n=410): time 7.774e-06/1.958, allocations: 3.984 kB / 0.9093 GB, free: 6.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=415): time 0.3756/2.334, allocations: 12.19 MB / 0.9212 GB, free: 70.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/2.334, allocations: 96.64 kB / 0.9213 GB, free: 70.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/2.338, allocations: 2.462 MB / 0.9237 GB, free: 70.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008317/2.339, allocations: 91.23 kB / 0.9238 GB, free: 70.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/2.341, allocations: 3.04 MB / 0.9267 GB, free: 68.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/2.343, allocations: 1.397 MB / 0.9281 GB, free: 68.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/2.343, allocations: 102.2 kB / 0.9282 GB, free: 68.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002889/2.343, allocations: 0.5086 MB / 0.9287 GB, free: 67.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/2.347, allocations: 2.416 MB / 0.9311 GB, free: 67.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/2.351, allocations: 4.006 MB / 0.935 GB, free: 65.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/2.356, allocations: 3.345 MB / 0.9382 GB, free: 65.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.936e-05/2.357, allocations: 14.72 kB / 0.9382 GB, free: 65.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01394/2.371, allocations: 7.823 MB / 0.9459 GB, free: 65.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/2.371, allocations: 26.47 kB / 0.9459 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-05/2.371, allocations: 48.97 kB / 0.946 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/2.374, allocations: 1.207 MB / 0.9471 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/2.379, allocations: 1.126 MB / 0.9482 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/2.394, allocations: 10.33 MB / 0.9583 GB, free: 62.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/2.399, allocations: 275.6 kB / 0.9586 GB, free: 62.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000851/2.4, allocations: 229.5 kB / 0.9588 GB, free: 62.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 588 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008604/2.4, allocations: 419.1 kB / 0.9592 GB, free: 62.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/2.401, allocations: 344.6 kB / 0.9595 GB, free: 62.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/2.415, allocations: 6.542 MB / 0.9659 GB, free: 62.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/2.415, allocations: 45.53 kB / 0.966 GB, free: 62.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/2.415, allocations: 11.34 kB / 0.966 GB, free: 62.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/2.415, allocations: 23.67 kB / 0.966 GB, free: 62.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0316/2.446, allocations: 15.1 MB / 0.9807 GB, free: 60.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/2.447, allocations: 3.875 kB / 0.9807 GB, free: 60.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/2.45, allocations: 0.7493 MB / 0.9815 GB, free: 59.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/2.453, allocations: 1.085 MB / 0.9825 GB, free: 59.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005888/2.453, allocations: 96.45 kB / 0.9826 GB, free: 59.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/2.465, allocations: 9.275 MB / 0.9917 GB, free: 54.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/2.465, allocations: 7.375 kB / 0.9917 GB, free: 54.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/2.481, allocations: 10.21 MB / 1.002 GB, free: 49.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/2.484, allocations: 0.9265 MB / 1.003 GB, free: 48.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/2.485, allocations: 87.28 kB / 1.003 GB, free: 48.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/2.488, allocations: 208.6 kB / 1.003 GB, free: 48.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/2.489, allocations: 298.6 kB / 1.003 GB, free: 48.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/2.489, allocations: 123.4 kB / 1.003 GB, free: 48.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003098/2.492, allocations: 1.883 MB / 1.005 GB, free: 47.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.492, allocations: 0.75 kB / 1.005 GB, free: 47.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007115/2.499, allocations: 1.434 MB / 1.006 GB, free: 47.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.phi,aimc.rotorCage.port_p.reference.gamma,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (398): * Single equations (assignments): 396 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01569/2.515, allocations: 12.69 MB / 1.019 GB, free: 40.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/2.527, allocations: 6.524 MB / 1.025 GB, free: 38.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/2.527, allocations: 0 / 1.025 GB, free: 38.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007557/2.535, allocations: 3.474 MB / 1.029 GB, free: 36.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/2.54, allocations: 0.7343 MB / 1.029 GB, free: 36.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04506/2.585, allocations: 14.68 MB / 1.044 GB, free: 26.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006398/2.592, allocations: 5.213 MB / 1.049 GB, free: 22.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004999/2.597, allocations: 1.672 MB / 1.05 GB, free: 21.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003733/2.6, allocations: 2.603 MB / 1.053 GB, free: 18.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/2.601, allocations: 0 / 1.053 GB, free: 18.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5691/3.17, allocations: 111.2 MB / 1.162 GB, free: 66.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/3.17, allocations: 229.9 kB / 1.162 GB, free: 66.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.599/8.769, allocations: 0 / 1.162 GB, free: 66.7 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)