Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 215 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.276/1.276, allocations: 230.5 MB / 256.4 MB, free: 8.418 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 79.81 kB / 376.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2177, allocations: 53.31 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02218/0.2399, allocations: 21.69 MB / 451.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2521, allocations: 6.82 MB / 458 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.2552, allocations: 147.6 kB / 458.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01461/0.2698, allocations: 6.89 MB / 465 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008021/0.2778, allocations: 2.806 MB / 467.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.282, allocations: 1.595 MB / 469.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.2932, allocations: 9.1 MB / 478.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/0.3097, allocations: 10.42 MB / 488.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006364/0.3161, allocations: 4.672 MB / 493.6 MB, free: 6.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007783/0.3239, allocations: 5.237 MB / 498.8 MB, free: 1.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002745/0.3266, allocations: 1.355 MB / 0.4885 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.3308, allocations: 1.691 MB / 0.4901 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.3338, allocations: 2.627 MB / 0.4927 GB, free: 12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006609/0.3404, allocations: 4.962 MB / 0.4975 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.3594, allocations: 18.25 MB / 0.5153 GB, free: 4.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3594, allocations: 4 kB / 0.5153 GB, free: 4.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3594, allocations: 0 / 0.5153 GB, free: 4.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.3598, allocations: 4 kB / 0.5153 GB, free: 4.707 MB / 430.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.02822/0.388, allocations: 10.74 MB / 0.5258 GB, free: 9.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.388, allocations: 12.03 kB / 0.5258 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002333/0.3904, allocations: 1.086 MB / 0.5269 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03142/0.4218, allocations: 5.899 MB / 0.5327 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3299/0.7517, allocations: 5.742 MB / 0.5383 GB, free: 86.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.7521, allocations: 0.5565 MB / 0.5388 GB, free: 86.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/0.754, allocations: 0.7362 MB / 0.5395 GB, free: 86.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.7751, allocations: 12.89 MB / 0.5521 GB, free: 81.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.7753, allocations: 11.2 kB / 0.5521 GB, free: 81.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001368/0.7767, allocations: 308.9 kB / 0.5524 GB, free: 80.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004147/0.7771, allocations: 496 kB / 0.5529 GB, free: 80.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.7972, allocations: 12.62 MB / 0.5652 GB, free: 71.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04989/0.8471, allocations: 41.55 MB / 0.6058 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.8603, allocations: 25.85 MB / 0.631 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004837/0.8652, allocations: 2.925 MB / 0.6339 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/0.8656, allocations: 271.9 kB / 0.6342 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/0.8657, allocations: 73.78 kB / 0.6342 GB, free: 13.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.29e-06/0.8657, allocations: 4 kB / 0.6342 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03849/0.9042, allocations: 17.09 MB / 0.6509 GB, free: 12.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.9042, allocations: 98.67 kB / 0.651 GB, free: 12.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.9084, allocations: 2.844 MB / 0.6538 GB, free: 9.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/0.909, allocations: 89.7 kB / 0.6539 GB, free: 9.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.911, allocations: 3.148 MB / 0.657 GB, free: 6.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.9125, allocations: 1.461 MB / 0.6584 GB, free: 5.031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.914, allocations: 0.9505 MB / 0.6593 GB, free: 4.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9141, allocations: 305.1 kB / 0.6596 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003936/0.9181, allocations: 2.516 MB / 0.6621 GB, free: 1.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005247/0.9233, allocations: 4.114 MB / 0.6661 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.9335, allocations: 7.199 MB / 0.6731 GB, free: 4.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.199e-05/0.9335, allocations: 20 kB / 0.6731 GB, free: 4.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01498/0.9485, allocations: 8.027 MB / 0.681 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.9485, allocations: 28 kB / 0.681 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/0.9486, allocations: 51.94 kB / 0.681 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.9521, allocations: 1.233 MB / 0.6822 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/0.9565, allocations: 1.146 MB / 0.6834 GB, free: 9.957 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.9727, allocations: 11.24 MB / 0.6943 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.976, allocations: 263.7 kB / 0.6946 GB, free: 14.19 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/0.9767, allocations: 236 kB / 0.6948 GB, free: 13.96 MB / 0.5138 GB 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.004833/0.9815, allocations: 2.959 MB / 0.6977 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008553/0.9824, allocations: 365.7 kB / 0.6981 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.9944, allocations: 6.671 MB / 0.7046 GB, free: 3.91 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/0.9944, allocations: 47.98 kB / 0.7046 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.9944, allocations: 8 kB / 0.7046 GB, free: 3.855 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.195e-05/0.9945, allocations: 19.92 kB / 0.7046 GB, free: 3.836 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.02, allocations: 14.86 MB / 0.7192 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.02, allocations: 7.938 kB / 0.7192 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/1.023, allocations: 0.7489 MB / 0.7199 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/1.026, allocations: 1.13 MB / 0.721 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000461/1.026, allocations: 99.91 kB / 0.7211 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.04, allocations: 10.17 MB / 0.731 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.04, allocations: 8 kB / 0.731 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1896/1.23, allocations: 10.01 MB / 0.7408 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.232, allocations: 0.9417 MB / 0.7417 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005471/1.232, allocations: 87.31 kB / 0.7418 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.234, allocations: 198 kB / 0.742 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006059/1.235, allocations: 303.5 kB / 0.7423 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.235, allocations: 127.3 kB / 0.7424 GB, free: 178.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002371/1.238, allocations: 1.959 MB / 0.7443 GB, free: 178.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.238, allocations: 0 / 0.7443 GB, free: 178.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004852/1.242, allocations: 1.391 MB / 0.7457 GB, free: 178.6 MB / 0.545 GB 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.01264/1.255, allocations: 10.74 MB / 0.7562 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008909/1.264, allocations: 6.497 MB / 0.7625 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.264, allocations: 0 / 0.7625 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00483/1.269, allocations: 3.314 MB / 0.7658 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.272, allocations: 0.8316 MB / 0.7666 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05658/1.329, allocations: 47.22 MB / 0.8127 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/1.333, allocations: 5.088 MB / 0.8176 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003381/1.336, allocations: 1.61 MB / 0.8192 GB, free: 124 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/1.339, allocations: 2.674 MB / 0.8218 GB, free: 121.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/1.339, allocations: 0 / 0.8218 GB, free: 121.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/1.479, allocations: 112.3 MB / 0.9315 GB, free: 9.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/17.33, allocations: 7.938 kB / 0.9315 GB, free: 9.531 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.59989121900435]