Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_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_0_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.001472/0.001472, allocations: 43.94 kB / 371.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2611, allocations: 52.19 MB / 423.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02969/0.2907, allocations: 25.01 MB / 448.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.3079, allocations: 7.875 MB / 456.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004777/0.3126, allocations: 210.9 kB / 456.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02035/0.333, allocations: 8.483 MB / 465.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3438, allocations: 3.124 MB / 468.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.3497, allocations: 1.859 MB / 470 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0159/0.3656, allocations: 11.24 MB / 481.3 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02821/0.3938, allocations: 14.64 MB / 495.9 MB, free: 5.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.4044, allocations: 6.071 MB / 0.4902 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.4155, allocations: 6.522 MB / 0.4966 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004487/0.42, allocations: 1.715 MB / 0.4983 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/0.4266, allocations: 2.136 MB / 0.5004 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005621/0.4322, allocations: 3.406 MB / 0.5037 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01095/0.4431, allocations: 6.358 MB / 0.5099 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02859/0.4717, allocations: 23.17 MB / 0.5325 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4717, allocations: 0 / 0.5325 GB, free: 4.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4717, allocations: 0 / 0.5325 GB, free: 4.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005551/0.4723, allocations: 0 / 0.5325 GB, free: 4.254 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.2427/0.715, allocations: 13.54 MB / 0.5457 GB, free: 91.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.715, allocations: 11.69 kB / 0.5458 GB, free: 91.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002946/0.7153, allocations: 297.7 kB / 0.546 GB, free: 91.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004902/0.7202, allocations: 1.621 MB / 0.5476 GB, free: 90.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03164/0.7519, allocations: 6.326 MB / 0.5538 GB, free: 87.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.7656, allocations: 7.363 MB / 0.561 GB, free: 80.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/0.7662, allocations: 0.7258 MB / 0.5617 GB, free: 79.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003741/0.7699, allocations: 0.9568 MB / 0.5626 GB, free: 78.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/0.8073, allocations: 16.21 MB / 0.5785 GB, free: 62.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004463/0.8077, allocations: 19.89 kB / 0.5785 GB, free: 62.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003113/0.8108, allocations: 407.3 kB / 0.5789 GB, free: 61.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000484/0.8113, allocations: 0.5643 MB / 0.5794 GB, free: 61.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02983/0.8411, allocations: 15.16 MB / 0.5942 GB, free: 46.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08538/0.9265, allocations: 51.51 MB / 0.6445 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01763/0.9441, allocations: 8.692 MB / 0.653 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00673/0.9509, allocations: 3.402 MB / 0.6563 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.9514, allocations: 115.6 kB / 0.6565 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/0.9515, allocations: 78.27 kB / 0.6565 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=473): time 7.064e-06/0.9515, allocations: 0 / 0.6565 GB, free: 14.64 MB / 478.1 MB 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.2121/1.164, allocations: 66.26 MB / 0.7212 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03936/1.203, allocations: 22.47 MB / 0.7432 GB, free: 5.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009208/1.212, allocations: 4.501 MB / 0.7476 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.213, allocations: 129.7 kB / 0.7477 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.403/1.616, allocations: 4.335 MB / 0.7519 GB, free: 185.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/1.618, allocations: 2.326 MB / 0.7542 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002353/1.621, allocations: 1.485 MB / 0.7557 GB, free: 183.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/1.621, allocations: 301.1 kB / 0.7559 GB, free: 183.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005341/1.626, allocations: 4.36 MB / 0.7602 GB, free: 182.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/1.633, allocations: 6.613 MB / 0.7667 GB, free: 178 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.646, allocations: 11.79 MB / 0.7782 GB, free: 170.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/1.646, allocations: 19.66 kB / 0.7782 GB, free: 170.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02611/1.672, allocations: 15.16 MB / 0.793 GB, free: 163.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/1.672, allocations: 32 kB / 0.793 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.672, allocations: 73.08 kB / 0.7931 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/1.683, allocations: 4.467 MB / 0.7975 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/1.689, allocations: 1.53 MB / 0.7989 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04607/1.735, allocations: 39.19 MB / 0.8372 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.741, allocations: 442.4 kB / 0.8376 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/1.742, allocations: 369.2 kB / 0.838 GB, free: 117.8 MB / 0.545 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.007386/1.75, allocations: 4.111 MB / 0.842 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.752, allocations: 0.5356 MB / 0.8425 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/1.773, allocations: 14.38 MB / 0.8566 GB, free: 98.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01843/1.791, allocations: 11.22 MB / 0.8675 GB, free: 87.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.089e-05/1.792, allocations: 35.84 kB / 0.8676 GB, free: 87.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.792, allocations: 35.88 kB / 0.8676 GB, free: 87.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05442/1.846, allocations: 33.37 MB / 0.9002 GB, free: 53.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.846, allocations: 8 kB / 0.9002 GB, free: 53.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004026/1.85, allocations: 0.9869 MB / 0.9012 GB, free: 52.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009716/1.86, allocations: 3.841 MB / 0.9049 GB, free: 48.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009459/1.861, allocations: 148 kB / 0.9051 GB, free: 48.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03895/1.9, allocations: 31.32 MB / 0.9356 GB, free: 16.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02626/1.926, allocations: 19.57 MB / 0.9547 GB, free: 12.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2603/2.186, allocations: 18.22 MB / 0.9725 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003597/2.19, allocations: 1.439 MB / 0.9739 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/2.191, allocations: 126.6 kB / 0.9741 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/2.195, allocations: 307.7 kB / 0.9744 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/2.196, allocations: 0.5121 MB / 0.9749 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/2.196, allocations: 193.5 kB / 0.975 GB, free: 174.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004265/2.201, allocations: 3.108 MB / 0.9781 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.3e-07/2.201, allocations: 0 / 0.9781 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008959/2.21, allocations: 2.275 MB / 0.9803 GB, free: 174.3 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.02985/2.239, allocations: 19.37 MB / 0.9992 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02037/2.26, allocations: 12.45 MB / 1.011 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/2.26, allocations: 0 / 1.011 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/2.272, allocations: 6.673 MB / 1.018 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005527/2.278, allocations: 1.121 MB / 1.019 GB, free: 159.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/2.393, allocations: 78.27 MB / 1.095 GB, free: 83.52 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007741/2.401, allocations: 6.97 MB / 1.102 GB, free: 76.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005564/2.407, allocations: 2.251 MB / 1.104 GB, free: 74.25 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005358/2.412, allocations: 3.764 MB / 1.108 GB, free: 70.48 MB / 0.5607 GB Notification: Performance of SimCode: time 1.523e-06/2.412, allocations: 4 kB / 1.108 GB, free: 70.48 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4728/2.885, allocations: 192.4 MB / 1.296 GB, free: 87.22 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.17/37.06, allocations: 16.88 kB / 1.296 GB, free: 87.21 MB / 0.5607 GB " [Timeout remaining time 623] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 89.81542968802387] 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.370202963007614 37.379126183 36.904927793 Calling exit ...