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_Initialize.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.001298/0.001298, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001551/0.001551, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.074 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_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.001981/0.001981, allocations: 64.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2904, allocations: 53.36 MB / 432 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03873/0.3291, allocations: 33.7 MB / 465.7 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.3518, allocations: 9.289 MB / 475 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006572/0.3584, allocations: 290.4 kB / 475.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02002/0.3784, allocations: 8.098 MB / 483.3 MB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.3916, allocations: 3.83 MB / 487.2 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007577/0.3992, allocations: 2.201 MB / 489.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02037/0.4195, allocations: 13.26 MB / 0.4908 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02847/0.448, allocations: 14.98 MB / 0.5055 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.4612, allocations: 6.752 MB / 0.5121 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.477, allocations: 7.491 MB / 0.5194 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006354/0.4833, allocations: 1.883 MB / 0.5212 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008649/0.492, allocations: 2.277 MB / 0.5234 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006916/0.4989, allocations: 3.76 MB / 0.5271 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01411/0.513, allocations: 7.109 MB / 0.5341 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2959/0.8089, allocations: 25.1 MB / 0.5586 GB, free: 41.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8089, allocations: 0 / 0.5586 GB, free: 41.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.8089, allocations: 0 / 0.5586 GB, free: 41.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007597/0.8097, allocations: 0 / 0.5586 GB, free: 41.48 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0513/0.861, allocations: 14.82 MB / 0.5731 GB, free: 34.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.861, allocations: 9.469 kB / 0.5731 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008507/0.8695, allocations: 1.509 MB / 0.5745 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03904/0.9086, allocations: 6.8 MB / 0.5812 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/0.9267, allocations: 8.186 MB / 0.5892 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007684/0.9274, allocations: 0.7856 MB / 0.5899 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004966/0.9324, allocations: 1.057 MB / 0.591 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/0.9779, allocations: 17.26 MB / 0.6078 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005083/0.9784, allocations: 11.95 kB / 0.6078 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0048/0.9832, allocations: 441.2 kB / 0.6083 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005426/0.9837, allocations: 0.6275 MB / 0.6089 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03793/1.022, allocations: 16.35 MB / 0.6248 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.139, allocations: 54.04 MB / 0.6776 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02329/1.162, allocations: 11.13 MB / 0.6885 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008063/1.17, allocations: 3.955 MB / 0.6923 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/1.195, allocations: 10.37 MB / 0.7025 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/1.195, allocations: 77.81 kB / 0.7025 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 8.646e-06/1.195, allocations: 0 / 0.7025 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.0558/1.251, allocations: 20.96 MB / 0.723 GB, free: 2.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.251, allocations: 120.7 kB / 0.7231 GB, free: 2.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00957/1.26, allocations: 4.715 MB / 0.7277 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009691/1.261, allocations: 93.7 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00421/1.266, allocations: 4.822 MB / 0.7325 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00234/1.268, allocations: 1.515 MB / 0.734 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.27, allocations: 1.148 MB / 0.7351 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.271, allocations: 313.1 kB / 0.7354 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005384/1.276, allocations: 2.908 MB / 0.7383 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2782/1.554, allocations: 4.951 MB / 0.7431 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.566, allocations: 8.363 MB / 0.7513 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/1.566, allocations: 20.28 kB / 0.7513 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01983/1.586, allocations: 9.739 MB / 0.7608 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/1.586, allocations: 32.62 kB / 0.7608 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.586, allocations: 64.47 kB / 0.7609 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/1.591, allocations: 1.646 MB / 0.7625 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/1.596, allocations: 1.326 MB / 0.7638 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.616, allocations: 17.35 MB / 0.7807 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006263/1.622, allocations: 317.8 kB / 0.781 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.624, allocations: 293.5 kB / 0.7813 GB, free: 172.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009479/1.633, allocations: 3.892 MB / 0.7851 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/1.635, allocations: 0.5195 MB / 0.7856 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/1.65, allocations: 7.59 MB / 0.793 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-05/1.65, allocations: 40 kB / 0.7931 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-05/1.651, allocations: 16 kB / 0.7931 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-05/1.651, allocations: 26.69 kB / 0.7931 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.682, allocations: 17.34 MB / 0.8101 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.682, allocations: 8 kB / 0.8101 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.685, allocations: 0.7379 MB / 0.8108 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/1.689, allocations: 1.548 MB / 0.8123 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007556/1.69, allocations: 108 kB / 0.8124 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/1.709, allocations: 20.5 MB / 0.8324 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.709, allocations: 7.906 kB / 0.8324 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.726, allocations: 11.31 MB / 0.8435 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/1.73, allocations: 1.121 MB / 0.8446 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/1.732, allocations: 91.98 kB / 0.8447 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004175/1.737, allocations: 227.8 kB / 0.8449 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/1.738, allocations: 347.1 kB / 0.8452 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005869/1.739, allocations: 136 kB / 0.8453 GB, free: 111 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006108/1.745, allocations: 3.195 MB / 0.8485 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.745, allocations: 0 / 0.8485 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01085/1.756, allocations: 1.866 MB / 0.8503 GB, free: 106 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01846/1.774, allocations: 12.05 MB / 0.862 GB, free: 93.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.787, allocations: 7.828 MB / 0.8697 GB, free: 85.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.787, allocations: 4 kB / 0.8697 GB, free: 85.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/1.795, allocations: 4.403 MB / 0.874 GB, free: 81.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008119/1.803, allocations: 1.313 MB / 0.8753 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/1.916, allocations: 64.2 MB / 0.938 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/1.929, allocations: 6.77 MB / 0.9446 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006067/1.935, allocations: 1.861 MB / 0.9464 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007721/1.943, allocations: 3.944 MB / 0.9503 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of SimCode: time 1.894e-06/1.943, allocations: 0 / 0.9503 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4628/2.405, allocations: 158.8 MB / 1.105 GB, free: 60.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.48/25.89, allocations: 4.062 kB / 1.105 GB, free: 60.9 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.865423451177776] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.airGap.V_mrr.im', 'imc.airGap.V_mrr.re', 'imc.airGap.V_msr.im', 'imc.airGap.V_msr.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.port_p.V_m.im', 'imc.stator.port_p.V_m.re', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 26.065380549058318 26.085325693 25.271970648 Calling exit ...