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.001093/0.001093, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 60.16 kB / 306.4 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08942, allocations: 50.53 MB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1888/0.2783, allocations: 21.2 MB / 378.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2904, allocations: 6.738 MB / 384.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.2928, allocations: 138.6 kB / 385 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.3056, allocations: 6.451 MB / 391.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.3133, allocations: 2.554 MB / 394 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.3169, allocations: 1.472 MB / 395.5 MB, free: 384 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.3286, allocations: 9.139 MB / 404.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02032/0.349, allocations: 15.01 MB / 419.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006166/0.3552, allocations: 3.965 MB / 423.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007624/0.3628, allocations: 4.862 MB / 428.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002546/0.3654, allocations: 0.8438 MB / 429.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.3695, allocations: 1.179 MB / 430.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002178/0.3717, allocations: 2.099 MB / 432.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006502/0.3782, allocations: 4.423 MB / 437 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01584/0.394, allocations: 17.8 MB / 454.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3941, allocations: 0 / 454.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3941, allocations: 0 / 454.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003823/0.3945, allocations: 8 kB / 454.8 MB, free: 10.58 MB / 366.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.02977/0.4243, allocations: 10.63 MB / 465.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4244, allocations: 12.03 kB / 465.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004943/0.4293, allocations: 1.086 MB / 466.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03306/0.4624, allocations: 5.891 MB / 472.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.4733, allocations: 5.577 MB / 478 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.4739, allocations: 0.5618 MB / 478.5 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.4765, allocations: 0.7381 MB / 479.3 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.5045, allocations: 12.85 MB / 492.1 MB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002858/0.5048, allocations: 15.81 kB / 492.1 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002364/0.5072, allocations: 312 kB / 492.5 MB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004644/0.5077, allocations: 492.1 kB / 492.9 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.5311, allocations: 12.57 MB / 0.4937 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.739, allocations: 41.84 MB / 0.5345 GB, free: 117.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.7543, allocations: 26.22 MB / 0.5601 GB, free: 95.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004368/0.7587, allocations: 3.215 MB / 0.5633 GB, free: 95.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.759, allocations: 247.3 kB / 0.5635 GB, free: 95.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7591, allocations: 78.61 kB / 0.5636 GB, free: 95.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.059e-06/0.7591, allocations: 4.594 kB / 0.5636 GB, free: 95.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0281/0.7872, allocations: 16.81 MB / 0.58 GB, free: 91.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.7873, allocations: 93.64 kB / 0.5801 GB, free: 91.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.7902, allocations: 2.834 MB / 0.5829 GB, free: 90.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.7903, allocations: 92.8 kB / 0.5829 GB, free: 90.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.7914, allocations: 3.049 MB / 0.5859 GB, free: 88.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.792, allocations: 1.39 MB / 0.5873 GB, free: 87.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.7931, allocations: 0.945 MB / 0.5882 GB, free: 86.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.7931, allocations: 301.1 kB / 0.5885 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.7959, allocations: 2.498 MB / 0.5909 GB, free: 85.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/0.7991, allocations: 4.104 MB / 0.5949 GB, free: 82.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/0.8056, allocations: 7.183 MB / 0.6019 GB, free: 77.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.8056, allocations: 14.5 kB / 0.602 GB, free: 77.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01084/0.8164, allocations: 7.989 MB / 0.6098 GB, free: 71.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.8165, allocations: 28 kB / 0.6098 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.946e-05/0.8166, allocations: 48.88 kB / 0.6098 GB, free: 70.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/0.8203, allocations: 1.204 MB / 0.611 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/0.824, allocations: 1.131 MB / 0.6121 GB, free: 68.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.8351, allocations: 10.33 MB / 0.6222 GB, free: 58.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.8382, allocations: 271.6 kB / 0.6225 GB, free: 57.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.8386, allocations: 228 kB / 0.6227 GB, free: 57.57 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.003598/0.8422, allocations: 2.959 MB / 0.6256 GB, free: 54.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/0.8429, allocations: 351.7 kB / 0.6259 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.852, allocations: 6.671 MB / 0.6324 GB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.852, allocations: 40 kB / 0.6325 GB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.852, allocations: 12 kB / 0.6325 GB, free: 47.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.8521, allocations: 23.91 kB / 0.6325 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/0.876, allocations: 15.15 MB / 0.6473 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.8761, allocations: 8 kB / 0.6473 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/0.8788, allocations: 0.753 MB / 0.648 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.8816, allocations: 1.091 MB / 0.6491 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/0.882, allocations: 95.97 kB / 0.6492 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.8932, allocations: 9.277 MB / 0.6583 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.8932, allocations: 4 kB / 0.6583 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.9072, allocations: 9.976 MB / 0.668 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/0.9091, allocations: 0.9143 MB / 0.6689 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/0.9101, allocations: 83.98 kB / 0.669 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/0.9125, allocations: 203.8 kB / 0.6692 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007935/0.9133, allocations: 299.2 kB / 0.6694 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003613/0.9137, allocations: 124 kB / 0.6696 GB, free: 8.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00358/0.9173, allocations: 1.963 MB / 0.6715 GB, free: 6.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9173, allocations: 0 / 0.6715 GB, free: 6.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006322/0.9236, allocations: 1.392 MB / 0.6728 GB, free: 5.598 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.01763/0.9413, allocations: 10.69 MB / 0.6833 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0132/0.9545, allocations: 6.693 MB / 0.6898 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.9546, allocations: 0 / 0.6898 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007238/0.9619, allocations: 3.538 MB / 0.6933 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/0.9678, allocations: 0.8041 MB / 0.6941 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/1.236, allocations: 56.58 MB / 0.7493 GB, free: 133 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003858/1.24, allocations: 5.082 MB / 0.7543 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004033/1.244, allocations: 1.609 MB / 0.7558 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00265/1.247, allocations: 2.664 MB / 0.7584 GB, free: 128 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/1.247, allocations: 0 / 0.7584 GB, free: 128 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.367, allocations: 109.2 MB / 0.8651 GB, free: 21.32 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.367, allocations: 284.2 kB / 0.8654 GB, free: 20.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.956/5.323, allocations: 0 / 0.8654 GB, free: 20.94 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)