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.001301/0.001301, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.31 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.086, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1569/0.2429, allocations: 21.54 MB / 379.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.2538, allocations: 6.787 MB / 385.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.2573, allocations: 148.8 kB / 386.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0137/0.271, allocations: 6.824 MB / 392.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009486/0.2805, allocations: 2.751 MB / 395.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.2848, allocations: 1.572 MB / 397.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.2977, allocations: 9.005 MB / 406.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02707/0.3248, allocations: 17.92 MB / 424.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007748/0.3326, allocations: 4.637 MB / 428.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007919/0.3405, allocations: 5.206 MB / 434 MB, free: 0 / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003162/0.3437, allocations: 1.356 MB / 435.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.3487, allocations: 1.707 MB / 437.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003584/0.3523, allocations: 2.611 MB / 439.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008298/0.3606, allocations: 4.962 MB / 444.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01959/0.3802, allocations: 18.14 MB / 462.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3803, allocations: 0 / 462.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3803, allocations: 0 / 462.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004206/0.3807, allocations: 0 / 462.8 MB, free: 3.152 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.03056/0.4113, allocations: 10.63 MB / 473.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4113, allocations: 8.031 kB / 473.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003208/0.4145, allocations: 1.086 MB / 474.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03318/0.4477, allocations: 5.891 MB / 480.4 MB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.459, allocations: 5.585 MB / 486 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000537/0.4596, allocations: 0.5541 MB / 486.5 MB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/0.4625, allocations: 0.7498 MB / 487.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/0.4922, allocations: 12.86 MB / 0.4884 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.4926, allocations: 7.906 kB / 0.4884 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/0.4946, allocations: 316 kB / 0.4887 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005055/0.4951, allocations: 492.1 kB / 0.4892 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.5215, allocations: 12.57 MB / 0.5015 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3751/0.8967, allocations: 41.89 MB / 0.5424 GB, free: 114.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/0.9152, allocations: 26.25 MB / 0.568 GB, free: 92.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.9205, allocations: 3.22 MB / 0.5711 GB, free: 92.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.921, allocations: 256.2 kB / 0.5714 GB, free: 92.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.098e-05/0.9212, allocations: 77.94 kB / 0.5715 GB, free: 92.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 1.127e-05/0.9212, allocations: 4.312 kB / 0.5715 GB, free: 92.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03666/0.9579, allocations: 16.98 MB / 0.5881 GB, free: 86.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9579, allocations: 92.77 kB / 0.5881 GB, free: 86.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/0.9623, allocations: 2.839 MB / 0.5909 GB, free: 85.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006376/0.9629, allocations: 92.39 kB / 0.591 GB, free: 85.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.9645, allocations: 3.044 MB / 0.594 GB, free: 82.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001775/0.9663, allocations: 1.391 MB / 0.5953 GB, free: 81.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.9691, allocations: 0.9458 MB / 0.5963 GB, free: 81.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.9692, allocations: 307.3 kB / 0.5966 GB, free: 80.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.9732, allocations: 2.504 MB / 0.599 GB, free: 79.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.9778, allocations: 4.108 MB / 0.603 GB, free: 75.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008667/0.9865, allocations: 7.194 MB / 0.61 GB, free: 70.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/0.9866, allocations: 20.66 kB / 0.6101 GB, free: 70.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01445/1.001, allocations: 8.024 MB / 0.6179 GB, free: 63.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/1.001, allocations: 28 kB / 0.6179 GB, free: 63.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.347e-05/1.001, allocations: 48 kB / 0.618 GB, free: 63.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/1.004, allocations: 1.244 MB / 0.6192 GB, free: 62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/1.008, allocations: 1.135 MB / 0.6203 GB, free: 60.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.021, allocations: 11.24 MB / 0.6313 GB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/1.024, allocations: 267.6 kB / 0.6315 GB, free: 49.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006154/1.024, allocations: 236 kB / 0.6317 GB, free: 48.85 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.003746/1.028, allocations: 2.952 MB / 0.6346 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/1.029, allocations: 351.7 kB / 0.635 GB, free: 45.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/1.039, allocations: 6.714 MB / 0.6415 GB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.039, allocations: 40 kB / 0.6416 GB, free: 38.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.039, allocations: 12 kB / 0.6416 GB, free: 38.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/1.039, allocations: 23.86 kB / 0.6416 GB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.064, allocations: 15.21 MB / 0.6564 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.064, allocations: 4.75 kB / 0.6564 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/1.067, allocations: 0.7528 MB / 0.6572 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/1.07, allocations: 1.138 MB / 0.6583 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/1.071, allocations: 91.98 kB / 0.6584 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.082, allocations: 10.17 MB / 0.6683 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.082, allocations: 11.88 kB / 0.6683 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.098, allocations: 10.01 MB / 0.6781 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.1, allocations: 0.9261 MB / 0.679 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007938/1.1, allocations: 79.98 kB / 0.6791 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.102, allocations: 203.8 kB / 0.6793 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/1.103, allocations: 303.2 kB / 0.6796 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.103, allocations: 124 kB / 0.6797 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003123/1.107, allocations: 1.955 MB / 0.6816 GB, free: 13.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.107, allocations: 0 / 0.6816 GB, free: 13.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004395/1.111, allocations: 1.393 MB / 0.6829 GB, free: 11.78 MB / 462.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.01552/1.127, allocations: 10.73 MB / 0.6934 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02954/1.156, allocations: 13.56 MB / 0.7067 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.156, allocations: 0 / 0.7067 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1476/1.304, allocations: 3.549 MB / 0.7101 GB, free: 160.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/1.308, allocations: 0.8379 MB / 0.711 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06771/1.376, allocations: 53.64 MB / 0.7633 GB, free: 127.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/1.381, allocations: 5.084 MB / 0.7683 GB, free: 122.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004837/1.386, allocations: 1.614 MB / 0.7699 GB, free: 120.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004204/1.391, allocations: 2.659 MB / 0.7725 GB, free: 118.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/1.391, allocations: 0 / 0.7725 GB, free: 118.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.429/3.82, allocations: 111.9 MB / 0.8818 GB, free: 127.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/17.11, allocations: 7.797 kB / 0.8818 GB, free: 127.2 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)