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_DOL.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.0016/0.0016, allocations: 116.3 kB / 18.5 MB, free: 4.559 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.001725/0.001725, allocations: 205 kB / 21.45 MB, free: 1.609 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.488/1.488, 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_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.002011/0.002011, allocations: 67.83 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 53.32 MB / 427.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2482/0.3581, allocations: 39.08 MB / 466.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02807/0.3861, allocations: 10.35 MB / 476.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01185/0.398, allocations: 357.3 kB / 476.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02768/0.4257, allocations: 10.31 MB / 487.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01847/0.4441, allocations: 4.142 MB / 491.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009793/0.4539, allocations: 2.428 MB / 493.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02876/0.4827, allocations: 16.52 MB / 0.4983 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04784/0.5305, allocations: 23.68 MB / 0.5214 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01746/0.548, allocations: 8.661 MB / 0.5299 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01872/0.5667, allocations: 9.597 MB / 0.5392 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00779/0.5745, allocations: 2.418 MB / 0.5416 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.5857, allocations: 2.828 MB / 0.5444 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009821/0.5955, allocations: 4.832 MB / 0.5491 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02007/0.6156, allocations: 9.214 MB / 0.5581 GB, free: 96 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04725/0.6629, allocations: 32.24 MB / 0.5896 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6629, allocations: 0 / 0.5896 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6629, allocations: 0 / 0.5896 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009463/0.6638, allocations: 0 / 0.5896 GB, free: 15.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06622/0.73, allocations: 19.06 MB / 0.6082 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.7301, allocations: 8.031 kB / 0.6082 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008899/0.739, allocations: 2.29 MB / 0.6104 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05/0.789, allocations: 8.286 MB / 0.6185 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4268/1.216, allocations: 10.28 MB / 0.6285 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001446/1.217, allocations: 1.057 MB / 0.6296 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006005/1.223, allocations: 1.399 MB / 0.6309 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05854/1.282, allocations: 22.8 MB / 0.6532 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005548/1.282, allocations: 23.95 kB / 0.6532 GB, free: 128.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00424/1.287, allocations: 0.5782 MB / 0.6538 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007887/1.287, allocations: 0.7863 MB / 0.6546 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03897/1.326, allocations: 21.07 MB / 0.6751 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.437, allocations: 72.86 MB / 0.7463 GB, free: 40.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0309/1.468, allocations: 42.12 MB / 0.7874 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/1.478, allocations: 4.744 MB / 0.7921 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/1.51, allocations: 13.04 MB / 0.8048 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/1.51, allocations: 86.77 kB / 0.8049 GB, free: 7.598 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 1.568e-05/1.51, allocations: 8 kB / 0.8049 GB, free: 7.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.07601/1.586, allocations: 26.61 MB / 0.8309 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.586, allocations: 129.3 kB / 0.831 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/1.6, allocations: 5.801 MB / 0.8367 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.601, allocations: 105.7 kB / 0.8368 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006421/1.607, allocations: 6.372 MB / 0.843 GB, free: 380 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.2497/1.857, allocations: 1.81 MB / 0.8447 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003334/1.86, allocations: 1.486 MB / 0.8462 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/1.86, allocations: 301.1 kB / 0.8465 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006473/1.867, allocations: 3.636 MB / 0.85 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00905/1.876, allocations: 6.483 MB / 0.8564 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/1.891, allocations: 10.79 MB / 0.8669 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001981/1.891, allocations: 26.81 kB / 0.8669 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02551/1.917, allocations: 12.1 MB / 0.8787 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/1.917, allocations: 45.09 kB / 0.8788 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003427/1.917, allocations: 92.75 kB / 0.8789 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/1.922, allocations: 1.583 MB / 0.8804 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.929, allocations: 1.679 MB / 0.8821 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.95, allocations: 19.64 MB / 0.9012 GB, free: 156 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/1.957, allocations: 427.4 kB / 0.9016 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.959, allocations: 371.6 kB / 0.902 GB, free: 155.8 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01051/1.969, allocations: 5.199 MB / 0.9071 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/1.971, allocations: 0.6355 MB / 0.9077 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.989, allocations: 9.31 MB / 0.9168 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009269/1.999, allocations: 5.855 MB / 0.9225 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.344e-05/1.999, allocations: 20 kB / 0.9225 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.644e-05/1.999, allocations: 25.36 kB / 0.9225 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04352/2.042, allocations: 21.01 MB / 0.9431 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.033e-05/2.042, allocations: 8.125 kB / 0.9431 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004085/2.047, allocations: 0.8737 MB / 0.9439 GB, free: 123.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/2.051, allocations: 1.634 MB / 0.9455 GB, free: 122.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/2.053, allocations: 132 kB / 0.9457 GB, free: 122 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/2.075, allocations: 23.22 MB / 0.9683 GB, free: 97.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.075, allocations: 11.94 kB / 0.9683 GB, free: 97.83 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/2.098, allocations: 13.72 MB / 0.9817 GB, free: 83.75 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003681/2.102, allocations: 1.395 MB / 0.9831 GB, free: 82.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00204/2.104, allocations: 108 kB / 0.9832 GB, free: 82.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.108, allocations: 279.7 kB / 0.9835 GB, free: 81.96 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/2.109, allocations: 416.3 kB / 0.9839 GB, free: 81.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007411/2.11, allocations: 163.9 kB / 0.984 GB, free: 81.39 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007643/2.118, allocations: 3.904 MB / 0.9878 GB, free: 77.51 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.9e-07/2.118, allocations: 0 / 0.9878 GB, free: 77.51 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01163/2.129, allocations: 2.338 MB / 0.9901 GB, free: 75.18 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02308/2.152, allocations: 14.51 MB / 1.004 GB, free: 60.32 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01666/2.169, allocations: 9.536 MB / 1.014 GB, free: 50.69 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.169, allocations: 7.844 kB / 1.014 GB, free: 50.68 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009303/2.178, allocations: 5.143 MB / 1.019 GB, free: 45.46 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/2.19, allocations: 1.649 MB / 1.02 GB, free: 43.87 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4039/2.594, allocations: 80.15 MB / 1.099 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.604, allocations: 8.857 MB / 1.107 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006382/2.611, allocations: 2.537 MB / 1.11 GB, free: 161 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007191/2.618, allocations: 5.198 MB / 1.115 GB, free: 156.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.593e-06/2.618, allocations: 0 / 1.115 GB, free: 156.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4968/3.114, allocations: 189.5 MB / 1.3 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.48/28.59, allocations: 9.5 kB / 1.3 GB, free: 158.1 MB / 0.5919 GB " [Timeout remaining time 631] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.402731280773878] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 28.776891700923443 28.786938463 28.121402685 Calling exit ...