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.001557/0.001557, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001499/0.001499, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.464/1.464, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.001895/0.001895, allocations: 63.89 kB / 378.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3212, allocations: 53.4 MB / 432 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03002/0.3512, allocations: 21.47 MB / 453.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.3715, allocations: 7.719 MB / 461.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00697/0.3785, allocations: 214.9 kB / 461.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02307/0.4016, allocations: 7.822 MB / 469.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.416, allocations: 3.097 MB / 472.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007993/0.424, allocations: 1.825 MB / 474.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.4441, allocations: 11.33 MB / 485.4 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02763/0.4717, allocations: 14.67 MB / 0.4884 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.4822, allocations: 6.059 MB / 0.4943 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.4952, allocations: 6.565 MB / 0.5007 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007561/0.5027, allocations: 1.715 MB / 0.5024 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.5138, allocations: 2.152 MB / 0.5045 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007901/0.5217, allocations: 3.406 MB / 0.5078 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01513/0.5368, allocations: 4.919 MB / 0.5126 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03758/0.5744, allocations: 23.29 MB / 0.5354 GB, free: 1.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.5744, allocations: 0 / 0.5354 GB, free: 1.684 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5744, allocations: 0 / 0.5354 GB, free: 1.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007731/0.5752, allocations: 0 / 0.5354 GB, free: 1.684 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.3161/0.8912, allocations: 13.58 MB / 0.5486 GB, free: 88.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.8913, allocations: 8.031 kB / 0.5486 GB, free: 88.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000319/0.8916, allocations: 309.1 kB / 0.5489 GB, free: 87.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006225/0.8978, allocations: 1.62 MB / 0.5505 GB, free: 86.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03512/0.9329, allocations: 6.265 MB / 0.5566 GB, free: 80.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/0.9502, allocations: 7.367 MB / 0.5638 GB, free: 72.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008064/0.951, allocations: 0.7337 MB / 0.5645 GB, free: 71.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005201/0.9562, allocations: 0.9564 MB / 0.5655 GB, free: 71.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/1.002, allocations: 16.4 MB / 0.5815 GB, free: 54.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007547/1.003, allocations: 23.89 kB / 0.5815 GB, free: 54.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005651/1.008, allocations: 407.3 kB / 0.5819 GB, free: 54.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006148/1.009, allocations: 0.5606 MB / 0.5824 GB, free: 53.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03619/1.045, allocations: 15.21 MB / 0.5973 GB, free: 38.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0992/1.144, allocations: 47.29 MB / 0.6435 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/1.165, allocations: 8.66 MB / 0.6519 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007887/1.173, allocations: 3.394 MB / 0.6553 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/1.173, allocations: 120.5 kB / 0.6554 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/1.174, allocations: 82.27 kB / 0.6554 GB, free: 10.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=473): time 8.926e-06/1.174, allocations: 0 / 0.6554 GB, free: 10.79 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.233/1.407, allocations: 66.37 MB / 0.7203 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03935/1.446, allocations: 22.1 MB / 0.7418 GB, free: 1.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3221/1.768, allocations: 4.51 MB / 0.7462 GB, free: 183.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/1.77, allocations: 132.6 kB / 0.7464 GB, free: 183.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/1.773, allocations: 4.342 MB / 0.7506 GB, free: 182.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002812/1.776, allocations: 2.33 MB / 0.7529 GB, free: 181 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/1.779, allocations: 1.498 MB / 0.7544 GB, free: 180.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.779, allocations: 304.9 kB / 0.7546 GB, free: 180 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007373/1.786, allocations: 4.359 MB / 0.7589 GB, free: 178.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.797, allocations: 6.647 MB / 0.7654 GB, free: 173.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01744/1.815, allocations: 11.82 MB / 0.7769 GB, free: 166.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.815, allocations: 20 kB / 0.7769 GB, free: 166.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03004/1.845, allocations: 15.17 MB / 0.7918 GB, free: 153.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.845, allocations: 39.94 kB / 0.7918 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000198/1.845, allocations: 68 kB / 0.7919 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/1.857, allocations: 4.466 MB / 0.7962 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/1.863, allocations: 1.533 MB / 0.7977 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04601/1.909, allocations: 38.55 MB / 0.8354 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.916, allocations: 431.5 kB / 0.8358 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.917, allocations: 367.9 kB / 0.8361 GB, free: 108.7 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.007775/1.925, allocations: 4.111 MB / 0.8401 GB, free: 104.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.927, allocations: 0.5434 MB / 0.8407 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02171/1.948, allocations: 14.38 MB / 0.8547 GB, free: 89.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01988/1.968, allocations: 11.24 MB / 0.8657 GB, free: 78.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-05/1.968, allocations: 39.98 kB / 0.8657 GB, free: 78.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000173/1.969, allocations: 35.86 kB / 0.8658 GB, free: 78.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0552/2.024, allocations: 32.11 MB / 0.8971 GB, free: 45.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/2.024, allocations: 8 kB / 0.8971 GB, free: 45.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004572/2.028, allocations: 0.9952 MB / 0.8981 GB, free: 44.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/2.039, allocations: 3.837 MB / 0.9018 GB, free: 40.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001633/2.04, allocations: 155.9 kB / 0.902 GB, free: 40.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/2.077, allocations: 30.71 MB / 0.932 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02954/2.107, allocations: 19.27 MB / 0.9508 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3284/2.435, allocations: 18.26 MB / 0.9686 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003815/2.439, allocations: 1.442 MB / 0.9701 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/2.44, allocations: 119.9 kB / 0.9702 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/2.443, allocations: 309.9 kB / 0.9705 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/2.445, allocations: 0.5211 MB / 0.971 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004367/2.445, allocations: 194.8 kB / 0.9712 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004537/2.45, allocations: 3.117 MB / 0.9742 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/2.45, allocations: 0 / 0.9742 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009235/2.459, allocations: 2.278 MB / 0.9764 GB, free: 175.5 MB / 0.5606 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.03167/2.49, allocations: 19.41 MB / 0.9954 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02206/2.512, allocations: 12.48 MB / 1.008 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/2.513, allocations: 4 kB / 1.008 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01353/2.526, allocations: 6.673 MB / 1.014 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006453/2.532, allocations: 1.125 MB / 1.015 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1385/2.671, allocations: 78.2 MB / 1.092 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008596/2.68, allocations: 6.542 MB / 1.098 GB, free: 65.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005312/2.685, allocations: 2.259 MB / 1.1 GB, free: 62.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006029/2.691, allocations: 3.794 MB / 1.104 GB, free: 58.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/2.691, allocations: 0 / 1.104 GB, free: 58.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.502/3.193, allocations: 194.4 MB / 1.294 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.14/37.33, allocations: 6.906 kB / 1.294 GB, free: 104.4 MB / 0.5762 GB " [Timeout remaining time 622] (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: 90.37652690894902] 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.649923203047365 37.666884741 37.08865046 Calling exit ...