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.001224/0.001224, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001245/0.001245, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001485/0.001485, allocations: 52.06 kB / 371.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2855, allocations: 52.19 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02572/0.3112, allocations: 21.41 MB / 444.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.3276, allocations: 7.506 MB / 452.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/0.3326, allocations: 222.8 kB / 452.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01958/0.3522, allocations: 7.815 MB / 460.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.3627, allocations: 3.054 MB / 463.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005171/0.3679, allocations: 1.804 MB / 465.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01402/0.3819, allocations: 11.24 MB / 476.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02465/0.4066, allocations: 14.65 MB / 491.1 MB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009881/0.4165, allocations: 6.075 MB / 497.2 MB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.4273, allocations: 6.522 MB / 0.4919 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004245/0.4315, allocations: 1.715 MB / 0.4936 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006163/0.4377, allocations: 2.125 MB / 0.4957 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005148/0.4428, allocations: 3.41 MB / 0.499 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.4534, allocations: 4.907 MB / 0.5038 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03377/0.4871, allocations: 23.26 MB / 0.5265 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4871, allocations: 0 / 0.5265 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4871, allocations: 4 kB / 0.5265 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006401/0.4878, allocations: 0 / 0.5265 GB, free: 10.19 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.4511/0.9389, allocations: 13.54 MB / 0.5397 GB, free: 94.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.939, allocations: 9.844 kB / 0.5397 GB, free: 94.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003063/0.9393, allocations: 305.5 kB / 0.54 GB, free: 93.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004352/0.9436, allocations: 1.619 MB / 0.5416 GB, free: 93.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03191/0.9755, allocations: 6.333 MB / 0.5478 GB, free: 91.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.9876, allocations: 7.352 MB / 0.555 GB, free: 84.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004284/0.9881, allocations: 0.7292 MB / 0.5557 GB, free: 83.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/0.9908, allocations: 0.9571 MB / 0.5566 GB, free: 82.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/1.023, allocations: 16.36 MB / 0.5726 GB, free: 66.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003988/1.023, allocations: 23.84 kB / 0.5726 GB, free: 66.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002623/1.026, allocations: 404.5 kB / 0.573 GB, free: 65.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004587/1.026, allocations: 0.5632 MB / 0.5736 GB, free: 65.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02652/1.053, allocations: 15.17 MB / 0.5884 GB, free: 49.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07032/1.123, allocations: 47.21 MB / 0.6345 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.138, allocations: 8.626 MB / 0.6429 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0068/1.145, allocations: 3.394 MB / 0.6462 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/1.145, allocations: 92.58 kB / 0.6463 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/1.146, allocations: 86.27 kB / 0.6464 GB, free: 7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=473): time 9.187e-06/1.146, allocations: 0 / 0.6464 GB, free: 7 MB / 462.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.202/1.347, allocations: 66.26 MB / 0.7111 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0367/1.384, allocations: 22.11 MB / 0.7327 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006781/1.391, allocations: 4.497 MB / 0.7371 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.392, allocations: 129.7 kB / 0.7372 GB, free: 9.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003318/1.395, allocations: 4.337 MB / 0.7414 GB, free: 4.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/1.398, allocations: 2.332 MB / 0.7437 GB, free: 2.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00264/1.401, allocations: 1.494 MB / 0.7452 GB, free: 1.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.401, allocations: 305.1 kB / 0.7455 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2005/1.601, allocations: 4.351 MB / 0.7497 GB, free: 185.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/1.608, allocations: 6.635 MB / 0.7562 GB, free: 182.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.62, allocations: 11.8 MB / 0.7677 GB, free: 175.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.013e-05/1.62, allocations: 24.41 kB / 0.7677 GB, free: 175.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02243/1.642, allocations: 15.14 MB / 0.7825 GB, free: 167.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/1.642, allocations: 32 kB / 0.7826 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.642, allocations: 68 kB / 0.7826 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/1.653, allocations: 4.467 MB / 0.787 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005418/1.659, allocations: 1.531 MB / 0.7885 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04141/1.7, allocations: 38.54 MB / 0.8261 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/1.705, allocations: 433.3 kB / 0.8265 GB, free: 125.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/1.706, allocations: 367.9 kB / 0.8269 GB, free: 125 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.00494/1.711, allocations: 4.108 MB / 0.8309 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.712, allocations: 0.5415 MB / 0.8314 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.732, allocations: 14.37 MB / 0.8455 GB, free: 106.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01664/1.749, allocations: 11.22 MB / 0.8564 GB, free: 94.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-05/1.749, allocations: 36 kB / 0.8564 GB, free: 94.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.368e-05/1.749, allocations: 35.81 kB / 0.8565 GB, free: 94.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04497/1.794, allocations: 32.09 MB / 0.8878 GB, free: 62.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/1.794, allocations: 15.98 kB / 0.8878 GB, free: 62.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004006/1.798, allocations: 0.9834 MB / 0.8888 GB, free: 61.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009589/1.808, allocations: 3.833 MB / 0.8925 GB, free: 57.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009177/1.809, allocations: 151.8 kB / 0.8927 GB, free: 57.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03565/1.844, allocations: 30.73 MB / 0.9227 GB, free: 26.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02386/1.868, allocations: 19.25 MB / 0.9415 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/1.899, allocations: 18.22 MB / 0.9593 GB, free: 4.141 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004216/1.904, allocations: 1.437 MB / 0.9607 GB, free: 2.703 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.905, allocations: 124 kB / 0.9608 GB, free: 2.582 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/1.909, allocations: 303.7 kB / 0.9611 GB, free: 2.285 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/1.91, allocations: 0.5172 MB / 0.9616 GB, free: 1.766 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005036/1.911, allocations: 188 kB / 0.9618 GB, free: 1.582 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.2207/2.131, allocations: 3.109 MB / 0.9648 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.4e-07/2.131, allocations: 0 / 0.9648 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01054/2.142, allocations: 2.285 MB / 0.967 GB, free: 181.5 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.02915/2.171, allocations: 19.4 MB / 0.986 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0198/2.191, allocations: 12.46 MB / 0.9982 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.191, allocations: 7.844 kB / 0.9982 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01183/2.203, allocations: 6.661 MB / 1.005 GB, free: 170 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/2.208, allocations: 1.113 MB / 1.006 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/2.332, allocations: 78.24 MB / 1.082 GB, free: 93.23 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006935/2.339, allocations: 6.543 MB / 1.089 GB, free: 86.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004934/2.343, allocations: 2.262 MB / 1.091 GB, free: 84.43 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004712/2.348, allocations: 3.76 MB / 1.094 GB, free: 80.67 MB / 0.5607 GB Notification: Performance of SimCode: time 1.022e-06/2.348, allocations: 0 / 1.094 GB, free: 80.67 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4419/2.79, allocations: 193.6 MB / 1.283 GB, free: 96.41 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.73/35.52, allocations: 19.3 kB / 1.283 GB, free: 96.4 MB / 0.5607 GB " [Timeout remaining time 624] (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: 88.49225866398774] 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'] 35.835210557910614 35.844577467 35.35487669 Calling exit ...