Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001315/0.001315, allocations: 103.3 kB / 21.96 MB, free: 5.219 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.00174/0.00174, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 55.86 kB / 348 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 49.16 MB / 397.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02202/0.2715, allocations: 21.5 MB / 418.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.2882, allocations: 7.414 MB / 426.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.2931, allocations: 189.3 kB / 426.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01895/0.312, allocations: 7.831 MB / 434.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.3228, allocations: 3.098 MB / 437.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.3287, allocations: 1.798 MB / 439 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01605/0.3447, allocations: 11.33 MB / 450.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02651/0.3712, allocations: 14.71 MB / 465.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009879/0.3811, allocations: 6.141 MB / 471.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.3921, allocations: 6.627 MB / 477.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004271/0.3964, allocations: 1.73 MB / 479.6 MB, free: 388 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005838/0.4022, allocations: 2.125 MB / 481.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005011/0.4072, allocations: 3.464 MB / 485.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009751/0.417, allocations: 4.981 MB / 490.1 MB, free: 5.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02837/0.4454, allocations: 23.29 MB / 0.5014 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4454, allocations: 7.938 kB / 0.5014 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4454, allocations: 0 / 0.5014 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004895/0.4458, allocations: 0 / 0.5014 GB, free: 14.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03867/0.4845, allocations: 13.71 MB / 0.5148 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4846, allocations: 15.98 kB / 0.5148 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000352/0.4849, allocations: 322.3 kB / 0.5151 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005182/0.4901, allocations: 1.65 MB / 0.5167 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03924/0.5293, allocations: 7.312 MB / 0.5239 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.5439, allocations: 6.591 MB / 0.5303 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007853/0.5447, allocations: 0.7386 MB / 0.531 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/0.5487, allocations: 0.9763 MB / 0.532 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03848/0.5871, allocations: 16.82 MB / 0.5484 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/0.5875, allocations: 19.91 kB / 0.5484 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/0.5901, allocations: 415.9 kB / 0.5488 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006652/0.5908, allocations: 0.5949 MB / 0.5494 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3598/0.9506, allocations: 15.85 MB / 0.5649 GB, free: 128.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07663/1.027, allocations: 48.18 MB / 0.6119 GB, free: 98.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/1.041, allocations: 9.421 MB / 0.6211 GB, free: 92.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/1.046, allocations: 3.543 MB / 0.6246 GB, free: 89.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.062, allocations: 10.36 MB / 0.6347 GB, free: 79.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.062, allocations: 77.44 kB / 0.6348 GB, free: 78.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=383): time 6.943e-06/1.062, allocations: 0 / 0.6348 GB, free: 78.97 MB / 478.1 MB Warning: Function $DER$Modelica$PElectrical$PQuasiStationary$PMultiPhase$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=571): time 0.1627/1.225, allocations: 62.42 MB / 0.6957 GB, free: 16.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03017/1.255, allocations: 22.09 MB / 0.7173 GB, free: 10.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/1.262, allocations: 4.773 MB / 0.722 GB, free: 5.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009003/1.263, allocations: 113.7 kB / 0.7221 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003587/1.267, allocations: 4.642 MB / 0.7266 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002357/1.269, allocations: 2.026 MB / 0.7286 GB, free: 14.59 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/1.271, allocations: 1.49 MB / 0.73 GB, free: 13.1 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.272, allocations: 301.1 kB / 0.7303 GB, free: 12.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006803/1.278, allocations: 4.188 MB / 0.7344 GB, free: 8.609 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/1.289, allocations: 6.695 MB / 0.741 GB, free: 0.8164 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/1.307, allocations: 11.57 MB / 0.7523 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.176e-05/1.307, allocations: 20 kB / 0.7523 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.03168/1.339, allocations: 14.9 MB / 0.7668 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/1.339, allocations: 40.97 kB / 0.7669 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.339, allocations: 76 kB / 0.7669 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.352, allocations: 4.474 MB / 0.7713 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1928/1.544, allocations: 1.466 MB / 0.7727 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04939/1.594, allocations: 38.54 MB / 0.8104 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/1.599, allocations: 453 kB / 0.8108 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.6, allocations: 374.8 kB / 0.8112 GB, free: 158.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (758): * Single equations (assignments): 751 * 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,40.8%), (1,6,100.0%), (14,54,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005925/1.606, allocations: 4.14 MB / 0.8152 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.608, allocations: 0.5275 MB / 0.8157 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.627, allocations: 12.21 MB / 0.8276 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01623/1.643, allocations: 10.55 MB / 0.8379 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/1.643, allocations: 35.84 kB / 0.838 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.938e-05/1.643, allocations: 31.88 kB / 0.838 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04399/1.687, allocations: 29.8 MB / 0.8671 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/1.687, allocations: 12.86 kB / 0.8671 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/1.69, allocations: 0.837 MB / 0.8679 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009505/1.7, allocations: 3.836 MB / 0.8717 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007463/1.701, allocations: 132 kB / 0.8718 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03445/1.735, allocations: 30.69 MB / 0.9018 GB, free: 75.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0235/1.759, allocations: 19.25 MB / 0.9206 GB, free: 55.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/1.783, allocations: 17.01 MB / 0.9372 GB, free: 38.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/1.787, allocations: 1.365 MB / 0.9385 GB, free: 36.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.788, allocations: 112 kB / 0.9386 GB, free: 36.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.791, allocations: 287.7 kB / 0.9389 GB, free: 36.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/1.793, allocations: 473.2 kB / 0.9394 GB, free: 36.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004241/1.793, allocations: 168 kB / 0.9395 GB, free: 35.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004055/1.797, allocations: 3.233 MB / 0.9427 GB, free: 32.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.797, allocations: 0 / 0.9427 GB, free: 32.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007913/1.805, allocations: 2.242 MB / 0.9449 GB, free: 30.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (424): * Single equations (assignments): 418 * 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,44.4%), (1,6,100.0%), (15,50,42.2%), (14,54,42.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02656/1.832, allocations: 18.16 MB / 0.9626 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.1992/2.031, allocations: 12.05 MB / 0.9744 GB, free: 175 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.031, allocations: 1.719 kB / 0.9744 GB, free: 175 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01365/2.045, allocations: 6.367 MB / 0.9806 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/2.05, allocations: 1.09 MB / 0.9817 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1269/2.177, allocations: 77.7 MB / 1.058 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009251/2.186, allocations: 6.596 MB / 1.064 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006447/2.193, allocations: 2.238 MB / 1.066 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006448/2.199, allocations: 3.78 MB / 1.07 GB, free: 108 MB / 0.5294 GB Notification: Performance of SimCode: time 1.683e-06/2.199, allocations: 4 kB / 1.07 GB, free: 108 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4767/2.676, allocations: 189.3 MB / 1.255 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.45/35.13, allocations: 11 kB / 1.255 GB, free: 111.8 MB / 0.5294 GB " [Timeout remaining time 625] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 87.75222309899982] 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.44660277303774 35.456756989 35.008892897 Calling exit ...