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.0009561/0.0009562, allocations: 99.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009459/0.000946, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002182, allocations: 12 kB / 306.7 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1091, allocations: 51.49 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2229/0.3321, allocations: 17.25 MB / 375.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.3461, allocations: 6.401 MB / 381.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004671/0.3508, allocations: 126.8 kB / 382 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00551/0.3564, allocations: 1.303 MB / 383.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009553/0.3659, allocations: 2.333 MB / 385.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.3698, allocations: 1.07 MB / 386.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01486/0.3847, allocations: 8.802 MB / 395.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02558/0.4103, allocations: 14 MB / 409.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007443/0.4178, allocations: 3.178 MB / 412.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006702/0.4245, allocations: 3.463 MB / 416.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.4268, allocations: 0.5156 MB / 416.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/0.431, allocations: 0.8042 MB / 417.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.4334, allocations: 1.542 MB / 419 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.4367, allocations: 1.666 MB / 420.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.4536, allocations: 15.4 MB / 436.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4536, allocations: 0 / 436.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4536, allocations: 0 / 436.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004943/0.4541, allocations: 4 kB / 436.1 MB, free: 14.52 MB / 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.02874/0.4829, allocations: 8.94 MB / 445 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4829, allocations: 8.031 kB / 445 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003963/0.4869, allocations: 1.086 MB / 446.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03284/0.5198, allocations: 5.839 MB / 452 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.533, allocations: 5.539 MB / 457.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/0.5336, allocations: 0.5579 MB / 458.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/0.5369, allocations: 0.7303 MB / 458.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.5679, allocations: 12.74 MB / 471.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.5682, allocations: 7.906 kB / 471.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.57, allocations: 319.9 kB / 471.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000514/0.5705, allocations: 496 kB / 472.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.5974, allocations: 12.53 MB / 484.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08453/0.682, allocations: 41.9 MB / 0.5144 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4411/1.123, allocations: 26.19 MB / 0.54 GB, free: 104.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/1.124, allocations: 245.7 kB / 0.5402 GB, free: 104.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.281e-05/1.124, allocations: 77.42 kB / 0.5403 GB, free: 104.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.883e-06/1.124, allocations: 3.844 kB / 0.5403 GB, free: 104.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04238/1.166, allocations: 16.82 MB / 0.5567 GB, free: 100 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/1.167, allocations: 94.2 kB / 0.5568 GB, free: 99.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/1.171, allocations: 2.778 MB / 0.5595 GB, free: 98.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009108/1.172, allocations: 92.36 kB / 0.5596 GB, free: 98.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.174, allocations: 3.042 MB / 0.5626 GB, free: 96.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.176, allocations: 1.389 MB / 0.564 GB, free: 95.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/1.176, allocations: 99.78 kB / 0.5641 GB, free: 95.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/1.176, allocations: 0.5045 MB / 0.5645 GB, free: 94.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.18, allocations: 2.505 MB / 0.567 GB, free: 93.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/1.184, allocations: 4.087 MB / 0.571 GB, free: 91.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/1.188, allocations: 3.406 MB / 0.5743 GB, free: 89.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-05/1.188, allocations: 19.59 kB / 0.5743 GB, free: 89.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01157/1.199, allocations: 7.992 MB / 0.5821 GB, free: 86.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/1.199, allocations: 31.08 kB / 0.5822 GB, free: 86.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.359e-05/1.199, allocations: 46.88 kB / 0.5822 GB, free: 86.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/1.202, allocations: 1.196 MB / 0.5834 GB, free: 86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.207, allocations: 1.13 MB / 0.5845 GB, free: 85.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.22, allocations: 10.6 MB / 0.5948 GB, free: 78.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.224, allocations: 275.9 kB / 0.5951 GB, free: 77.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007512/1.224, allocations: 231.9 kB / 0.5953 GB, free: 77.55 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 (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.004965/1.229, allocations: 2.952 MB / 0.5982 GB, free: 74.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/1.23, allocations: 347.8 kB / 0.5985 GB, free: 74.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009971/1.24, allocations: 6.712 MB / 0.6051 GB, free: 67.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.24, allocations: 44 kB / 0.6051 GB, free: 67.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.24, allocations: 11.94 kB / 0.6051 GB, free: 67.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/1.24, allocations: 23.88 kB / 0.6052 GB, free: 67.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/1.261, allocations: 15.13 MB / 0.6199 GB, free: 52.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.261, allocations: 8.656 kB / 0.6199 GB, free: 52.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.264, allocations: 0.7528 MB / 0.6207 GB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.266, allocations: 1.091 MB / 0.6217 GB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.267, allocations: 99.81 kB / 0.6218 GB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.278, allocations: 9.55 MB / 0.6312 GB, free: 40.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.278, allocations: 7.938 kB / 0.6312 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.291, allocations: 10.49 MB / 0.6414 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.293, allocations: 0.9182 MB / 0.6423 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/1.294, allocations: 80 kB / 0.6424 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.296, allocations: 217.3 kB / 0.6426 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/1.296, allocations: 303.2 kB / 0.6429 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.297, allocations: 124 kB / 0.643 GB, free: 28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002546/1.299, allocations: 1.9 MB / 0.6449 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.299, allocations: 0 / 0.6449 GB, free: 26.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005004/1.304, allocations: 1.385 MB / 0.6462 GB, free: 24.71 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 (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 Backend phase and start with SimCode phase: time 0.01391/1.318, allocations: 12.66 MB / 0.6586 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.328, allocations: 6.719 MB / 0.6651 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.328, allocations: 0 / 0.6651 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005682/1.334, allocations: 3.541 MB / 0.6686 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/1.338, allocations: 0.7471 MB / 0.6693 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3009/1.639, allocations: 73.39 MB / 0.741 GB, free: 157.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.645, allocations: 5.21 MB / 0.7461 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004599/1.649, allocations: 1.617 MB / 0.7476 GB, free: 155 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00342/1.653, allocations: 2.662 MB / 0.7502 GB, free: 152.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/1.653, allocations: 0 / 0.7502 GB, free: 152.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/1.909, allocations: 105.9 MB / 0.8536 GB, free: 55.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.91, allocations: 265.4 kB / 0.8539 GB, free: 55.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/5.799, allocations: 2.969 kB / 0.8539 GB, free: 55.46 MB / 494.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/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)