Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.004 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 51.94 kB / 378.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2406, allocations: 53.36 MB / 432 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02924/0.2699, allocations: 25.06 MB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.2856, allocations: 8.113 MB / 465.2 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.2896, allocations: 214.9 kB / 465.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01929/0.3089, allocations: 8.491 MB / 473.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.319, allocations: 3.169 MB / 477 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.3246, allocations: 1.874 MB / 478.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01679/0.3414, allocations: 11.34 MB / 490.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02641/0.3678, allocations: 14.67 MB / 0.4931 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009817/0.3776, allocations: 6.083 MB / 0.499 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.3894, allocations: 6.557 MB / 0.5054 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004607/0.3941, allocations: 1.719 MB / 0.5071 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/0.402, allocations: 2.156 MB / 0.5092 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006155/0.4082, allocations: 3.414 MB / 0.5125 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.4198, allocations: 6.358 MB / 0.5187 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.448/0.8677, allocations: 23.19 MB / 0.5414 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.8677, allocations: 0 / 0.5414 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8677, allocations: 0 / 0.5414 GB, free: 40.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008145/0.8685, allocations: 0.6562 kB / 0.5414 GB, free: 40.97 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04018/0.9087, allocations: 13.58 MB / 0.5547 GB, free: 37.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.9088, allocations: 9.469 kB / 0.5547 GB, free: 37.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002817/0.909, allocations: 306.7 kB / 0.555 GB, free: 37.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005805/0.9149, allocations: 1.614 MB / 0.5565 GB, free: 37.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03374/0.9486, allocations: 6.257 MB / 0.5626 GB, free: 36.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.9619, allocations: 7.38 MB / 0.5699 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.9623, allocations: 0.7287 MB / 0.5706 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003809/0.9661, allocations: 0.9609 MB / 0.5715 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03458/1.001, allocations: 16.24 MB / 0.5874 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000292/1.001, allocations: 19.91 kB / 0.5874 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/1.004, allocations: 401 kB / 0.5878 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004358/1.005, allocations: 0.5711 MB / 0.5883 GB, free: 18.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02522/1.03, allocations: 15.2 MB / 0.6032 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08682/1.117, allocations: 51.59 MB / 0.6535 GB, free: 15.37 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/1.134, allocations: 8.714 MB / 0.6621 GB, free: 7.465 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006303/1.14, allocations: 3.406 MB / 0.6654 GB, free: 4.047 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/1.14, allocations: 148.3 kB / 0.6655 GB, free: 3.93 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.918e-05/1.14, allocations: 82.27 kB / 0.6656 GB, free: 3.84 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=473): time 6.272e-06/1.14, allocations: 0 / 0.6656 GB, free: 3.84 MB / 0.4982 GB Warning: Function $DER$Modelica$PElectrical$PQuasiStatic$PPolyphase$PFunctions$PquasiRMS has not the expected inputs. Expected inputs are record Complex Real re; Real im; end Complex;[:]. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: imcQS.is[3].im 2: imcQS.is[3].re 3: imcQS.is[2].im 4: imcQS.is[2].re 5: imcQS.is[1].im 6: imcQS.is[1].re Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: imcQS.rotorCage.omega Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=661): time 0.2/1.34, allocations: 66.37 MB / 0.7304 GB, free: 1.719 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0378/1.378, allocations: 22.48 MB / 0.7524 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007146/1.385, allocations: 4.51 MB / 0.7568 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/1.386, allocations: 133.7 kB / 0.7569 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003405/1.39, allocations: 4.342 MB / 0.7611 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.2285/1.618, allocations: 2.32 MB / 0.7634 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/1.621, allocations: 1.501 MB / 0.7649 GB, free: 227.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/1.621, allocations: 305.1 kB / 0.7652 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/1.627, allocations: 4.354 MB / 0.7694 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006938/1.634, allocations: 6.616 MB / 0.7759 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/1.649, allocations: 11.82 MB / 0.7874 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.931e-05/1.649, allocations: 19.22 kB / 0.7874 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02596/1.675, allocations: 15.17 MB / 0.8022 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/1.675, allocations: 36 kB / 0.8023 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.676, allocations: 70.62 kB / 0.8023 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/1.687, allocations: 4.473 MB / 0.8067 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.693, allocations: 1.539 MB / 0.8082 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04545/1.738, allocations: 39.2 MB / 0.8465 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.744, allocations: 426.2 kB / 0.8469 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/1.745, allocations: 379.9 kB / 0.8473 GB, free: 165.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (789): * Single equations (assignments): 782 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(14,54,45.9%), (1,6,100.0%), (14,54,43.9%), (1,6,100.0%), (14,54,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005207/1.75, allocations: 4.114 MB / 0.8513 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.751, allocations: 0.5455 MB / 0.8518 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/1.772, allocations: 14.37 MB / 0.8658 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01739/1.789, allocations: 11.26 MB / 0.8768 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/1.789, allocations: 32 kB / 0.8769 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-05/1.789, allocations: 32.81 kB / 0.8769 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04524/1.835, allocations: 33.4 MB / 0.9095 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/1.835, allocations: 11.94 kB / 0.9095 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/1.838, allocations: 0.9868 MB / 0.9105 GB, free: 100.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009699/1.848, allocations: 3.841 MB / 0.9142 GB, free: 96.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001443/1.85, allocations: 155.9 kB / 0.9144 GB, free: 96.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03549/1.885, allocations: 31.32 MB / 0.945 GB, free: 64.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02372/1.909, allocations: 19.58 MB / 0.9641 GB, free: 44.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02808/1.937, allocations: 18.26 MB / 0.9819 GB, free: 26.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/1.941, allocations: 1.452 MB / 0.9833 GB, free: 24.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.942, allocations: 124 kB / 0.9835 GB, free: 24.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/1.946, allocations: 299.7 kB / 0.9837 GB, free: 24.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/1.947, allocations: 0.525 MB / 0.9843 GB, free: 23.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004262/1.948, allocations: 195.9 kB / 0.9844 GB, free: 23.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00392/1.952, allocations: 3.115 MB / 0.9875 GB, free: 20.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.952, allocations: 0 / 0.9875 GB, free: 20.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008698/1.96, allocations: 2.276 MB / 0.9897 GB, free: 18.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 4 ($STATESET1.x,imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,sineVoltageQS.plug_p.reference.gamma) * 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 (508): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(14,42,43.9%), (1,6,100.0%), (15,50,42.2%), (14,54,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2482/2.208, allocations: 19.38 MB / 1.009 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01953/2.228, allocations: 12.48 MB / 1.021 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/2.228, allocations: 3.875 kB / 1.021 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.24, allocations: 6.677 MB / 1.027 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006123/2.246, allocations: 1.125 MB / 1.028 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1218/2.367, allocations: 78.2 MB / 1.105 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007517/2.375, allocations: 6.97 MB / 1.112 GB, free: 136.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004867/2.38, allocations: 2.262 MB / 1.114 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004393/2.384, allocations: 3.791 MB / 1.118 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/2.384, allocations: 0 / 1.118 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/2.847, allocations: 192.8 MB / 1.306 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.4/36.25, allocations: 18.34 kB / 1.306 GB, free: 174.3 MB / 0.5919 GB " [Timeout remaining time 623] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 89.0815857090056] Failed to read output from testmodel.py, exit status != 0: ['time', 'PIQS.x', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertiaQS.w', 'powerSensorQS.flange_a.phi'] 36.55940394004574 36.568782799 35.698516006 Calling exit ...