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_Characteristics.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.001272/0.001272, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001363/0.001363, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.475/1.475, allocations: 230.5 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.002105/0.002105, allocations: 75.81 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 53.31 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.239/0.3501, allocations: 24.91 MB / 451.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.3682, allocations: 7.472 MB / 459.4 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006408/0.3746, allocations: 222.6 kB / 459.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02477/0.3994, allocations: 8.89 MB / 468.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01491/0.4143, allocations: 2.967 MB / 471.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007014/0.4213, allocations: 1.727 MB / 473.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.4385, allocations: 10.83 MB / 484 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02816/0.4666, allocations: 16.59 MB / 0.4889 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.4776, allocations: 5.822 MB / 0.4946 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.4894, allocations: 6.339 MB / 0.5008 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004657/0.4941, allocations: 1.672 MB / 0.5024 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.5008, allocations: 2.054 MB / 0.5044 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005244/0.5061, allocations: 3.168 MB / 0.5075 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.5183, allocations: 6.09 MB / 0.5135 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03095/0.5492, allocations: 22.4 MB / 0.5353 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5493, allocations: 4 kB / 0.5353 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5493, allocations: 0 / 0.5353 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005972/0.5499, allocations: 0 / 0.5353 GB, free: 7.594 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04167/0.5915, allocations: 12.96 MB / 0.548 GB, free: 10.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5916, allocations: 8.031 kB / 0.548 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005183/0.5968, allocations: 1.552 MB / 0.5495 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03734/0.6341, allocations: 6.175 MB / 0.5555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/0.6497, allocations: 6.961 MB / 0.5623 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007949/0.6505, allocations: 0.6907 MB / 0.563 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/0.655, allocations: 0.9257 MB / 0.5639 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/0.6997, allocations: 15.78 MB / 0.5793 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004336/0.7001, allocations: 15.89 kB / 0.5793 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003788/0.7039, allocations: 388 kB / 0.5797 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007305/0.7046, allocations: 0.5547 MB / 0.5803 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03738/0.742, allocations: 14.8 MB / 0.5947 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5106/1.253, allocations: 52.19 MB / 0.6457 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03369/1.286, allocations: 26.1 MB / 0.6712 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007871/1.294, allocations: 2.938 MB / 0.674 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/1.295, allocations: 273.7 kB / 0.6743 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/1.295, allocations: 74.22 kB / 0.6744 GB, free: 101 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 1.012e-05/1.295, allocations: 0 / 0.6744 GB, free: 101 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.06572/1.361, allocations: 17.42 MB / 0.6914 GB, free: 93.04 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.361, allocations: 94.95 kB / 0.6915 GB, free: 92.97 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00969/1.37, allocations: 3.701 MB / 0.6951 GB, free: 91.04 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.372, allocations: 90.97 kB / 0.6952 GB, free: 90.95 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004668/1.376, allocations: 4.134 MB / 0.6992 GB, free: 87.87 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003305/1.38, allocations: 1.442 MB / 0.7006 GB, free: 86.62 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003103/1.383, allocations: 1.153 MB / 0.7017 GB, free: 85.96 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/1.383, allocations: 311.9 kB / 0.702 GB, free: 85.66 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006432/1.389, allocations: 2.801 MB / 0.7048 GB, free: 84.14 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008147/1.397, allocations: 4.956 MB / 0.7096 GB, free: 79.76 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.413, allocations: 8.339 MB / 0.7178 GB, free: 72.91 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/1.413, allocations: 24 kB / 0.7178 GB, free: 72.89 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02109/1.434, allocations: 9.094 MB / 0.7267 GB, free: 63.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.421e-05/1.434, allocations: 36 kB / 0.7267 GB, free: 63.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.434, allocations: 68 kB / 0.7268 GB, free: 63.67 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.438, allocations: 1.23 MB / 0.728 GB, free: 62.44 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.442, allocations: 1.33 MB / 0.7293 GB, free: 61.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.455, allocations: 9.925 MB / 0.739 GB, free: 51.06 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/1.459, allocations: 327.6 kB / 0.7393 GB, free: 50.74 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009557/1.46, allocations: 292 kB / 0.7396 GB, free: 50.46 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005538/1.466, allocations: 3.706 MB / 0.7432 GB, free: 46.74 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009667/1.467, allocations: 421.3 kB / 0.7436 GB, free: 46.32 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.477, allocations: 6.662 MB / 0.7501 GB, free: 39.63 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008071/1.485, allocations: 5.575 MB / 0.7555 GB, free: 34.03 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.485, allocations: 16 kB / 0.7555 GB, free: 34.01 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/1.485, allocations: 19.92 kB / 0.7556 GB, free: 33.99 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.51, allocations: 15.76 MB / 0.7709 GB, free: 18.15 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.51, allocations: 8.594 kB / 0.771 GB, free: 18.14 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002727/1.512, allocations: 0.7333 MB / 0.7717 GB, free: 17.41 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/1.515, allocations: 1.113 MB / 0.7728 GB, free: 16.29 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/1.516, allocations: 91.97 kB / 0.7728 GB, free: 16.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.527, allocations: 8.853 MB / 0.7815 GB, free: 7.211 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.527, allocations: 8 kB / 0.7815 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.542, allocations: 9.857 MB / 0.7911 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/1.545, allocations: 0.9746 MB / 0.7921 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.545, allocations: 79.98 kB / 0.7922 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.548, allocations: 199.9 kB / 0.7923 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/1.548, allocations: 287.3 kB / 0.7926 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/1.549, allocations: 128 kB / 0.7927 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004642/1.553, allocations: 2.495 MB / 0.7952 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/1.553, allocations: 0 / 0.7952 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007016/1.56, allocations: 1.605 MB / 0.7967 GB, free: 7.465 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01908/1.579, allocations: 10.59 MB / 0.8071 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.594, allocations: 6.871 MB / 0.8138 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.594, allocations: 4.062 kB / 0.8138 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007848/1.602, allocations: 3.182 MB / 0.8169 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006805/1.609, allocations: 0.9689 MB / 0.8179 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/1.96, allocations: 54.27 MB / 0.8709 GB, free: 171.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007688/1.968, allocations: 6.193 MB / 0.8769 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004566/1.973, allocations: 1.91 MB / 0.8788 GB, free: 168.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004573/1.977, allocations: 3.321 MB / 0.882 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.663e-06/1.977, allocations: 0 / 0.882 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/2.156, allocations: 128.5 MB / 1.007 GB, free: 41.55 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/21.82, allocations: 11.75 kB / 1.008 GB, free: 41.54 MB / 0.5607 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.45519341668114] Failed to read output from testmodel.py, exit status != 0: ['time', 'imcQS.rotorCage.port_p.reference.gamma', 'speed.phi'] 21.971725570969284 21.989823226 21.436621752 Calling exit ...