Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0014/0.0014, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001483/0.001483, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_withLosses,fileNamePrefix="Modelica_trunk_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_trunk_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.001883/0.001883, allocations: 55.91 kB / 378.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03049/0.3709, allocations: 25.05 MB / 457.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.3896, allocations: 8.127 MB / 465.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005886/0.3955, allocations: 214.9 kB / 465.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02263/0.4181, allocations: 8.477 MB / 473.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.4324, allocations: 3.151 MB / 477 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007995/0.4404, allocations: 1.894 MB / 478.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02124/0.4617, allocations: 11.34 MB / 490.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03708/0.4988, allocations: 14.67 MB / 0.4931 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01365/0.5124, allocations: 6.056 MB / 0.499 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01413/0.5265, allocations: 6.569 MB / 0.5054 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005775/0.5323, allocations: 1.715 MB / 0.5071 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008938/0.5412, allocations: 2.156 MB / 0.5092 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00691/0.5482, allocations: 3.406 MB / 0.5125 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01503/0.5632, allocations: 6.362 MB / 0.5188 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5388/1.102, allocations: 23.2 MB / 0.5414 GB, free: 40.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.102, allocations: 0 / 0.5414 GB, free: 40.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/1.102, allocations: 0.5 kB / 0.5414 GB, free: 40.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006992/1.103, allocations: 1.375 kB / 0.5414 GB, free: 40.91 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.04257/1.145, allocations: 13.57 MB / 0.5547 GB, free: 37.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.145, allocations: 9.906 kB / 0.5547 GB, free: 37.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003218/1.146, allocations: 313.2 kB / 0.555 GB, free: 37.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006454/1.152, allocations: 1.613 MB / 0.5566 GB, free: 37.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/1.187, allocations: 6.263 MB / 0.5627 GB, free: 36.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/1.205, allocations: 7.377 MB / 0.5699 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/1.205, allocations: 0.7272 MB / 0.5706 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/1.21, allocations: 0.9612 MB / 0.5715 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0358/1.245, allocations: 16.24 MB / 0.5874 GB, free: 19.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003587/1.246, allocations: 26.75 kB / 0.5874 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003115/1.249, allocations: 400.3 kB / 0.5878 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004429/1.249, allocations: 0.5704 MB / 0.5883 GB, free: 18.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02848/1.278, allocations: 15.19 MB / 0.6032 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/1.382, allocations: 51.59 MB / 0.6536 GB, free: 15.24 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/1.401, allocations: 8.712 MB / 0.6621 GB, free: 7.328 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00756/1.409, allocations: 3.412 MB / 0.6654 GB, free: 3.91 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/1.409, allocations: 146.1 kB / 0.6655 GB, free: 3.793 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.41, allocations: 82.27 kB / 0.6656 GB, free: 3.703 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=473): time 8.456e-06/1.41, allocations: 0 / 0.6656 GB, free: 3.703 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.2228/1.632, allocations: 66.37 MB / 0.7304 GB, free: 1.57 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04016/1.673, allocations: 22.45 MB / 0.7524 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008927/1.681, allocations: 4.51 MB / 0.7568 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.683, allocations: 133.7 kB / 0.7569 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.687, allocations: 4.34 MB / 0.7611 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.2535/1.94, allocations: 2.326 MB / 0.7634 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005684/1.946, allocations: 1.502 MB / 0.7649 GB, free: 227.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/1.946, allocations: 303.8 kB / 0.7652 GB, free: 227 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006138/1.952, allocations: 4.358 MB / 0.7694 GB, free: 227 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006944/1.959, allocations: 6.623 MB / 0.7759 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.974, allocations: 11.81 MB / 0.7874 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/1.974, allocations: 23.62 kB / 0.7874 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02829/2.002, allocations: 15.18 MB / 0.8023 GB, free: 209 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/2.002, allocations: 34.53 kB / 0.8023 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/2.002, allocations: 72 kB / 0.8024 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/2.014, allocations: 4.47 MB / 0.8067 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/2.019, allocations: 1.541 MB / 0.8082 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04827/2.068, allocations: 39.21 MB / 0.8465 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/2.074, allocations: 427.5 kB / 0.8469 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/2.076, allocations: 367.9 kB / 0.8473 GB, free: 165.4 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.008023/2.084, allocations: 4.107 MB / 0.8513 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/2.086, allocations: 0.547 MB / 0.8518 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/2.112, allocations: 14.39 MB / 0.8659 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01978/2.132, allocations: 11.24 MB / 0.8769 GB, free: 135 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.529e-05/2.132, allocations: 36 kB / 0.8769 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.836e-05/2.132, allocations: 35.86 kB / 0.8769 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0584/2.19, allocations: 33.39 MB / 0.9095 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-05/2.19, allocations: 11.94 kB / 0.9095 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/2.194, allocations: 0.9911 MB / 0.9105 GB, free: 100.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/2.205, allocations: 3.841 MB / 0.9143 GB, free: 96.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001291/2.206, allocations: 152 kB / 0.9144 GB, free: 96.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0404/2.246, allocations: 31.33 MB / 0.945 GB, free: 64.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02664/2.273, allocations: 19.57 MB / 0.9641 GB, free: 44.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03147/2.305, allocations: 18.27 MB / 0.9819 GB, free: 25.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/2.309, allocations: 1.443 MB / 0.9834 GB, free: 24.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.311, allocations: 128 kB / 0.9835 GB, free: 24.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/2.315, allocations: 299.7 kB / 0.9838 GB, free: 24.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002321/2.318, allocations: 0.5211 MB / 0.9843 GB, free: 23.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001068/2.319, allocations: 196 kB / 0.9845 GB, free: 23.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00536/2.324, allocations: 3.115 MB / 0.9875 GB, free: 20.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.324, allocations: 0 / 0.9875 GB, free: 20.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009865/2.334, allocations: 2.285 MB / 0.9897 GB, free: 17.97 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.3022/2.636, allocations: 19.37 MB / 1.009 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02312/2.659, allocations: 12.48 MB / 1.021 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.659, allocations: 0 / 1.021 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01324/2.673, allocations: 6.682 MB / 1.027 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008314/2.681, allocations: 1.12 MB / 1.028 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/2.822, allocations: 78.21 MB / 1.105 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/2.832, allocations: 6.974 MB / 1.112 GB, free: 136.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006184/2.839, allocations: 2.259 MB / 1.114 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00604/2.845, allocations: 3.791 MB / 1.118 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/2.845, allocations: 0 / 1.118 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5197/3.364, allocations: 192.8 MB / 1.306 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.11/38.48, allocations: 6.906 kB / 1.306 GB, free: 173.8 MB / 0.5919 GB " [Timeout remaining time 621] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 91.74039819696918] 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'] 38.809264290030114 38.819242645 37.714542441 Calling exit ...