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.005586/0.005586, allocations: 114 kB / 21.97 MB, free: 5.227 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.001604/0.001604, allocations: 209.2 kB / 25.28 MB, free: 3.25 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.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.001679/0.001679, allocations: 47.92 kB / 348 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2382, allocations: 49.16 MB / 397.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0251/0.2633, allocations: 25.13 MB / 422.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.2818, allocations: 7.769 MB / 430.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/0.2867, allocations: 186.3 kB / 430.3 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01954/0.3062, allocations: 8.497 MB / 438.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.3169, allocations: 3.148 MB / 441.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.3226, allocations: 1.848 MB / 443.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01646/0.3391, allocations: 11.34 MB / 455.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02954/0.3687, allocations: 14.71 MB / 469.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.3789, allocations: 6.137 MB / 476 MB, free: 4.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.3907, allocations: 6.631 MB / 482.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004818/0.3956, allocations: 1.723 MB / 484.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006649/0.4022, allocations: 2.132 MB / 486.4 MB, free: 9.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006067/0.4083, allocations: 3.476 MB / 489.9 MB, free: 6.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01188/0.4202, allocations: 6.436 MB / 496.4 MB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02861/0.4488, allocations: 23.2 MB / 0.5074 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4488, allocations: 0 / 0.5074 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4488, allocations: 0 / 0.5074 GB, free: 8.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006063/0.4494, allocations: 0 / 0.5074 GB, free: 8.465 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.04037/0.4898, allocations: 13.72 MB / 0.5208 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4898, allocations: 15.92 kB / 0.5208 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003389/0.4901, allocations: 318.4 kB / 0.5211 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005573/0.4957, allocations: 1.654 MB / 0.5227 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03959/0.5353, allocations: 7.316 MB / 0.5299 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.5505, allocations: 6.579 MB / 0.5363 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007848/0.5513, allocations: 0.7386 MB / 0.537 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/0.5548, allocations: 0.9764 MB / 0.538 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/0.5923, allocations: 16.67 MB / 0.5542 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.5926, allocations: 11.91 kB / 0.5542 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/0.5952, allocations: 419.9 kB / 0.5546 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006217/0.5959, allocations: 0.5949 MB / 0.5552 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3504/0.9462, allocations: 15.86 MB / 0.5707 GB, free: 128.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07335/1.02, allocations: 52.54 MB / 0.622 GB, free: 91.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.034, allocations: 9.501 MB / 0.6313 GB, free: 83.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004556/1.038, allocations: 3.547 MB / 0.6348 GB, free: 79.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/1.054, allocations: 11.21 MB / 0.6457 GB, free: 68.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.054, allocations: 73.55 kB / 0.6458 GB, free: 68.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=383): time 6.122e-06/1.054, allocations: 3.938 kB / 0.6458 GB, free: 68.49 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.1558/1.21, allocations: 62.41 MB / 0.7067 GB, free: 6.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03549/1.245, allocations: 22.44 MB / 0.7286 GB, free: 15.37 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.254, allocations: 4.777 MB / 0.7333 GB, free: 10.57 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009928/1.255, allocations: 117.7 kB / 0.7334 GB, free: 10.45 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003651/1.259, allocations: 4.634 MB / 0.7379 GB, free: 5.777 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/1.261, allocations: 2.026 MB / 0.7399 GB, free: 3.734 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003907/1.265, allocations: 1.482 MB / 0.7414 GB, free: 2.246 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.265, allocations: 309.2 kB / 0.7417 GB, free: 1.941 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006658/1.272, allocations: 4.184 MB / 0.7458 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008967/1.281, allocations: 6.666 MB / 0.7523 GB, free: 5.996 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2097/1.491, allocations: 11.56 MB / 0.7636 GB, free: 160 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.879e-05/1.491, allocations: 23.5 kB / 0.7636 GB, free: 160 MB / 0.5138 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.02869/1.52, allocations: 14.91 MB / 0.7781 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/1.52, allocations: 36.81 kB / 0.7782 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.52, allocations: 78.41 kB / 0.7782 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.53, allocations: 4.479 MB / 0.7826 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005242/1.535, allocations: 1.478 MB / 0.7841 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04277/1.578, allocations: 39.21 MB / 0.8224 GB, free: 126 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/1.584, allocations: 446.5 kB / 0.8228 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009664/1.585, allocations: 375.9 kB / 0.8231 GB, free: 125.2 MB / 0.5138 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.005467/1.59, allocations: 4.139 MB / 0.8272 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.591, allocations: 0.5265 MB / 0.8277 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.61, allocations: 12.21 MB / 0.8396 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0158/1.625, allocations: 10.56 MB / 0.8499 GB, free: 97.93 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/1.625, allocations: 36 kB / 0.85 GB, free: 97.89 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.655e-05/1.626, allocations: 27.89 kB / 0.85 GB, free: 97.87 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04172/1.667, allocations: 30.99 MB / 0.8803 GB, free: 66.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/1.667, allocations: 4 kB / 0.8803 GB, free: 66.78 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/1.671, allocations: 0.8432 MB / 0.8811 GB, free: 65.93 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009043/1.68, allocations: 3.848 MB / 0.8848 GB, free: 62.07 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/1.68, allocations: 135.9 kB / 0.885 GB, free: 61.93 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03434/1.715, allocations: 31.28 MB / 0.9155 GB, free: 30.24 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02352/1.738, allocations: 19.57 MB / 0.9346 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/1.765, allocations: 17.01 MB / 0.9512 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/1.769, allocations: 1.365 MB / 0.9526 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.77, allocations: 108 kB / 0.9527 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/1.774, allocations: 295.6 kB / 0.9529 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/1.775, allocations: 469.3 kB / 0.9534 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004548/1.776, allocations: 171.8 kB / 0.9536 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004986/1.781, allocations: 3.233 MB / 0.9567 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.781, allocations: 0 / 0.9567 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008448/1.789, allocations: 2.242 MB / 0.9589 GB, free: 1.035 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.2239/2.013, allocations: 18.1 MB / 0.9766 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02016/2.033, allocations: 12.08 MB / 0.9884 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.033, allocations: 0 / 0.9884 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.045, allocations: 6.358 MB / 0.9946 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/2.05, allocations: 1.103 MB / 0.9957 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1092/2.16, allocations: 77.72 MB / 1.072 GB, free: 86.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007074/2.167, allocations: 7.024 MB / 1.078 GB, free: 79.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005086/2.172, allocations: 2.246 MB / 1.081 GB, free: 77.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004906/2.177, allocations: 3.772 MB / 1.084 GB, free: 73.79 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/2.177, allocations: 0 / 1.084 GB, free: 73.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4298/2.606, allocations: 188.2 MB / 1.268 GB, free: 102.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.12/34.73, allocations: 7.969 kB / 1.268 GB, free: 102.8 MB / 0.545 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.39180874999147] 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.048245369049255 35.064417568 34.612026157 Calling exit ...