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.001369/0.001369, allocations: 113 kB / 18.49 MB, free: 4.539 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.001348/0.001348, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.403/1.403, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.001408/0.001408, allocations: 55.86 kB / 373.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09073, allocations: 53.32 MB / 427.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2281/0.3189, allocations: 24.99 MB / 452.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3326, allocations: 8.085 MB / 460.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006249/0.3388, allocations: 225.5 kB / 460.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01805/0.3569, allocations: 8.457 MB / 468.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009631/0.3665, allocations: 3.073 MB / 471.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.3722, allocations: 1.836 MB / 473.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.3883, allocations: 11.22 MB / 485 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0271/0.4154, allocations: 17.42 MB / 0.4906 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.427, allocations: 6.028 MB / 0.4965 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.4384, allocations: 6.549 MB / 0.5029 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004279/0.4427, allocations: 1.715 MB / 0.5046 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006671/0.4493, allocations: 2.152 MB / 0.5067 GB, free: 328 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005161/0.4545, allocations: 3.406 MB / 0.51 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01232/0.4668, allocations: 6.362 MB / 0.5162 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03004/0.4968, allocations: 23.19 MB / 0.5388 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.4969, allocations: 0 / 0.5388 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4969, allocations: 0 / 0.5388 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005755/0.4974, allocations: 0 / 0.5388 GB, free: 15.26 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.04078/0.5382, allocations: 13.66 MB / 0.5522 GB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.5383, allocations: 8.031 kB / 0.5522 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003932/0.5387, allocations: 309.4 kB / 0.5525 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006758/0.5454, allocations: 1.625 MB / 0.5541 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03626/0.5817, allocations: 6.268 MB / 0.5602 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.5966, allocations: 7.298 MB / 0.5673 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.5972, allocations: 0.7304 MB / 0.568 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003352/0.6006, allocations: 0.9646 MB / 0.569 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03821/0.6388, allocations: 16.23 MB / 0.5848 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/0.6391, allocations: 23.84 kB / 0.5848 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/0.6411, allocations: 404 kB / 0.5852 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006641/0.6417, allocations: 0.5671 MB / 0.5858 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03129/0.673, allocations: 15.21 MB / 0.6006 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.437/1.11, allocations: 52.79 MB / 0.6522 GB, free: 120.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/1.125, allocations: 19.79 MB / 0.6715 GB, free: 106.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004962/1.13, allocations: 3.398 MB / 0.6748 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/1.131, allocations: 306.3 kB / 0.6751 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.131, allocations: 77.48 kB / 0.6752 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=473): time 6.042e-06/1.131, allocations: 1.75 kB / 0.6752 GB, free: 105.8 MB / 0.5138 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.1653/1.296, allocations: 66.8 MB / 0.7404 GB, free: 62.67 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02852/1.324, allocations: 23.19 MB / 0.7631 GB, free: 38.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/1.329, allocations: 4.515 MB / 0.7675 GB, free: 34.31 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008407/1.33, allocations: 129.7 kB / 0.7676 GB, free: 34.18 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.332, allocations: 4.334 MB / 0.7719 GB, free: 30.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.333, allocations: 2.325 MB / 0.7741 GB, free: 28.01 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/1.335, allocations: 1.502 MB / 0.7756 GB, free: 26.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/1.335, allocations: 305.1 kB / 0.7759 GB, free: 26.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/1.34, allocations: 4.357 MB / 0.7801 GB, free: 21.84 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/1.346, allocations: 6.621 MB / 0.7866 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.359, allocations: 11.81 MB / 0.7981 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.013e-05/1.359, allocations: 20 kB / 0.7982 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03122/1.39, allocations: 15.18 MB / 0.813 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/1.39, allocations: 32 kB / 0.813 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/1.391, allocations: 72 kB / 0.8131 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.403, allocations: 4.457 MB / 0.8174 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/1.409, allocations: 1.54 MB / 0.8189 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2676/1.677, allocations: 39.71 MB / 0.8577 GB, free: 169.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006155/1.683, allocations: 432.5 kB / 0.8581 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.685, allocations: 371.3 kB / 0.8585 GB, free: 169.2 MB / 0.5607 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.008205/1.693, allocations: 4.114 MB / 0.8625 GB, free: 167.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.694, allocations: 0.5389 MB / 0.863 GB, free: 167.3 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/1.722, allocations: 14.38 MB / 0.8771 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01962/1.742, allocations: 11.24 MB / 0.8881 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/1.742, allocations: 33.91 kB / 0.8881 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/1.742, allocations: 30.61 kB / 0.8881 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05209/1.794, allocations: 33.86 MB / 0.9212 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.794, allocations: 8.812 kB / 0.9212 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003936/1.798, allocations: 0.9903 MB / 0.9222 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009516/1.807, allocations: 3.842 MB / 0.9259 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009427/1.808, allocations: 159.9 kB / 0.9261 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03564/1.844, allocations: 31.71 MB / 0.957 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0244/1.868, allocations: 20.2 MB / 0.9768 GB, free: 82.62 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/1.897, allocations: 18.26 MB / 0.9946 GB, free: 64.05 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/1.9, allocations: 1.481 MB / 0.996 GB, free: 62.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.901, allocations: 131.4 kB / 0.9962 GB, free: 62.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003952/1.905, allocations: 303.8 kB / 0.9965 GB, free: 62.13 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/1.907, allocations: 0.4941 MB / 0.9969 GB, free: 61.63 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004734/1.907, allocations: 196 kB / 0.9971 GB, free: 61.44 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003774/1.911, allocations: 3.115 MB / 1 GB, free: 58.31 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.4e-07/1.911, allocations: 4 kB / 1 GB, free: 58.31 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00782/1.919, allocations: 2.275 MB / 1.002 GB, free: 56.04 MB / 0.5607 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.02783/1.947, allocations: 19.39 MB / 1.021 GB, free: 36.55 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02029/1.967, allocations: 12.47 MB / 1.034 GB, free: 23.98 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.967, allocations: 4 kB / 1.034 GB, free: 23.98 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/1.98, allocations: 6.681 MB / 1.04 GB, free: 17.24 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006571/1.986, allocations: 1.126 MB / 1.041 GB, free: 16.14 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3358/2.322, allocations: 78.04 MB / 1.117 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006579/2.328, allocations: 6.979 MB / 1.124 GB, free: 142.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004967/2.333, allocations: 2.265 MB / 1.126 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005166/2.339, allocations: 3.793 MB / 1.13 GB, free: 138 MB / 0.5607 GB Notification: Performance of SimCode: time 1.432e-06/2.339, allocations: 0 / 1.13 GB, free: 138 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.446/2.785, allocations: 189.2 MB / 1.315 GB, free: 167.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.99/36.77, allocations: 11.38 kB / 1.315 GB, free: 167.9 MB / 0.5763 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.61270852398593] 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'] 37.073893020045944 37.088647885 36.588570641 Calling exit ...