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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008327/0.0008329, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009572/0.0009572, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.7 MB / 246.8 MB, free: 9.562 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001887/0.0001887, allocations: 4 kB / 307.9 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07543, allocations: 51.53 MB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1554/0.2308, allocations: 20.22 MB / 379.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2414, allocations: 6.671 MB / 386.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.2445, allocations: 134.5 kB / 386.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.248, allocations: 1.541 MB / 388 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.2543, allocations: 2.535 MB / 390.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.2571, allocations: 1.372 MB / 391.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.2671, allocations: 9.122 MB / 401 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02363/0.2908, allocations: 17.92 MB / 418.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.2954, allocations: 3.297 MB / 422.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004346/0.2998, allocations: 4.003 MB / 426.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000882/0.3006, allocations: 0.5156 MB / 426.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.3026, allocations: 0.8668 MB / 427.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.3038, allocations: 1.631 MB / 429.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.3078, allocations: 3.917 MB / 433.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.3211, allocations: 17.13 MB / 450.3 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3212, allocations: 0 / 450.3 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3212, allocations: 0 / 450.3 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.3214, allocations: 0 / 450.3 MB, free: 456 kB / 350.1 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.02073/0.3422, allocations: 8.921 MB / 459.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3422, allocations: 12.03 kB / 459.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001762/0.344, allocations: 1.094 MB / 460.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02971/0.3737, allocations: 5.918 MB / 466.2 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009643/0.3834, allocations: 5.6 MB / 471.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.3838, allocations: 0.5619 MB / 472.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.3855, allocations: 0.7342 MB / 473.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.4069, allocations: 12.86 MB / 486 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.4071, allocations: 15.89 kB / 486 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007675/0.4079, allocations: 312 kB / 486.3 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004062/0.4083, allocations: 0.4884 MB / 486.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.427, allocations: 12.58 MB / 499.3 MB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04851/0.4755, allocations: 41.97 MB / 0.5286 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1615/0.637, allocations: 26.22 MB / 0.5542 GB, free: 105.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004949/0.642, allocations: 3.237 MB / 0.5574 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.6423, allocations: 249 kB / 0.5576 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.6424, allocations: 74.66 kB / 0.5577 GB, free: 105.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.022e-06/0.6424, allocations: 0 / 0.5577 GB, free: 105.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03166/0.674, allocations: 16.89 MB / 0.5742 GB, free: 99.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.6741, allocations: 98.27 kB / 0.5743 GB, free: 99.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.6773, allocations: 2.84 MB / 0.5771 GB, free: 97.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.6775, allocations: 89.23 kB / 0.5771 GB, free: 97.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.6786, allocations: 3.036 MB / 0.5801 GB, free: 95.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006337/0.6792, allocations: 1.395 MB / 0.5815 GB, free: 94.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.6796, allocations: 398.6 kB / 0.5819 GB, free: 94.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.6797, allocations: 309.1 kB / 0.5821 GB, free: 94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/0.6825, allocations: 2.511 MB / 0.5846 GB, free: 93.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.6857, allocations: 4.114 MB / 0.5886 GB, free: 90.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/0.692, allocations: 7.199 MB / 0.5956 GB, free: 85.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.6921, allocations: 14.88 kB / 0.5957 GB, free: 85.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009709/0.7018, allocations: 8.004 MB / 0.6035 GB, free: 79.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.7018, allocations: 32 kB / 0.6035 GB, free: 79.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/0.7019, allocations: 48 kB / 0.6036 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.7045, allocations: 1.197 MB / 0.6047 GB, free: 78.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.7077, allocations: 1.139 MB / 0.6058 GB, free: 76.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.7187, allocations: 10.34 MB / 0.6159 GB, free: 66.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.7211, allocations: 271.6 kB / 0.6162 GB, free: 66.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.7214, allocations: 235.9 kB / 0.6164 GB, free: 65.8 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003154/0.7246, allocations: 2.959 MB / 0.6193 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.725, allocations: 347.8 kB / 0.6196 GB, free: 62.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008937/0.734, allocations: 6.687 MB / 0.6262 GB, free: 55.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.734, allocations: 40 kB / 0.6262 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.734, allocations: 12 kB / 0.6262 GB, free: 55.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/0.734, allocations: 27.91 kB / 0.6262 GB, free: 55.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.7509, allocations: 15.17 MB / 0.6411 GB, free: 40.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.7509, allocations: 16.06 kB / 0.6411 GB, free: 40.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/0.7534, allocations: 0.7489 MB / 0.6418 GB, free: 39.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.7559, allocations: 1.087 MB / 0.6429 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.7562, allocations: 99.97 kB / 0.643 GB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009741/0.7659, allocations: 9.292 MB / 0.652 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.766, allocations: 10.56 kB / 0.6521 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.7784, allocations: 9.988 MB / 0.6618 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.7799, allocations: 0.9259 MB / 0.6627 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/0.7803, allocations: 83.98 kB / 0.6628 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.782, allocations: 211.8 kB / 0.663 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/0.7825, allocations: 295.2 kB / 0.6633 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.7827, allocations: 128 kB / 0.6634 GB, free: 17.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002161/0.7849, allocations: 1.955 MB / 0.6653 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.7849, allocations: 0 / 0.6653 GB, free: 15.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003339/0.7882, allocations: 1.39 MB / 0.6667 GB, free: 13.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/0.7999, allocations: 10.72 MB / 0.6771 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009537/0.8094, allocations: 6.722 MB / 0.6837 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.8095, allocations: 0 / 0.6837 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005313/0.8148, allocations: 3.545 MB / 0.6872 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/0.8201, allocations: 0.7891 MB / 0.6879 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2406/1.061, allocations: 56.72 MB / 0.7433 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/1.065, allocations: 5.078 MB / 0.7483 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004116/1.069, allocations: 1.612 MB / 0.7499 GB, free: 135.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003023/1.072, allocations: 2.663 MB / 0.7525 GB, free: 133.7 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/1.072, allocations: 3.938 kB / 0.7525 GB, free: 133.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.184, allocations: 107.6 MB / 0.8576 GB, free: 29.37 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.184, allocations: 289.4 kB / 0.8578 GB, free: 28.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/4.817, allocations: 3.266 kB / 0.8578 GB, free: 28.99 MB / 478.1 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/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)