Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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.001722/0.001722, allocations: 108.8 kB / 19.17 MB, free: 3.871 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.002171/0.002171, allocations: 207.2 kB / 22.12 MB, free: 0.9297 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.381/1.381, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",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.001691/0.001691, allocations: 55.92 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2728, allocations: 49.12 MB / 392.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01397/0.2868, allocations: 13.75 MB / 405.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2975, allocations: 4.522 MB / 410.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.3005, allocations: 92.38 kB / 410.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.3038, allocations: 1.084 MB / 411.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.3085, allocations: 1.384 MB / 413 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.3113, allocations: 0.9416 MB / 413.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007211/0.3185, allocations: 4.75 MB / 418.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.322, allocations: 2.556 MB / 421.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.326, allocations: 2.243 MB / 423.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.3309, allocations: 2.501 MB / 425.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.3328, allocations: 0.5884 MB / 426.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.3357, allocations: 0.7927 MB / 427.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00167/0.3373, allocations: 1.344 MB / 428.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004318/0.3416, allocations: 2.47 MB / 431.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.3522, allocations: 7.787 MB / 438.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3522, allocations: 4 kB / 438.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.3522, allocations: 4 kB / 438.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002191/0.3525, allocations: 0 / 438.9 MB, free: 5.484 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01439/0.3668, allocations: 5.145 MB / 444.1 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3669, allocations: 12.03 kB / 444.1 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.778e-05/0.367, allocations: 95.44 kB / 444.2 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007713/0.3678, allocations: 0.4984 MB / 444.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/0.3721, allocations: 0.8922 MB / 445.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.3773, allocations: 2.679 MB / 448.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.3775, allocations: 267.2 kB / 448.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007644/0.3783, allocations: 363.9 kB / 448.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.3882, allocations: 5.033 MB / 453.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.547e-05/0.3883, allocations: 11.95 kB / 453.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.3887, allocations: 148 kB / 454.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.3888, allocations: 159.2 kB / 454.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007846/0.3967, allocations: 4.377 MB / 458.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.4238, allocations: 15.75 MB / 474.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.4331, allocations: 7.604 MB / 481.9 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.4361, allocations: 1.585 MB / 483.5 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008513/0.4447, allocations: 4.66 MB / 488.2 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.4447, allocations: 51.88 kB / 488.2 MB, free: 2.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=161): time 4.078e-06/0.4447, allocations: 0 / 488.2 MB, free: 2.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=164): time 0.0189/0.4636, allocations: 8.141 MB / 496.4 MB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.4637, allocations: 72.66 kB / 496.5 MB, free: 10.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.4673, allocations: 2.163 MB / 498.6 MB, free: 7.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.4675, allocations: 61.7 kB / 498.7 MB, free: 7.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.4688, allocations: 1.655 MB / 0.4886 GB, free: 6.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005705/0.4694, allocations: 0.5771 MB / 0.4892 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/0.47, allocations: 351.4 kB / 0.4895 GB, free: 5.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4701, allocations: 309.1 kB / 0.4898 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.472, allocations: 0.9408 MB / 0.4907 GB, free: 4.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.4741, allocations: 1.461 MB / 0.4921 GB, free: 2.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.478, allocations: 2.503 MB / 0.4946 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.478, allocations: 4 kB / 0.4946 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.006288/0.4843, allocations: 3.345 MB / 0.4979 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.4843, allocations: 12 kB / 0.4979 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.4843, allocations: 12 kB / 0.4979 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.4862, allocations: 0.7331 MB / 0.4986 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.4876, allocations: 375.4 kB / 0.499 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.5009, allocations: 11.36 MB / 0.5101 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5028, allocations: 83.91 kB / 0.5101 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.503, allocations: 79.98 kB / 0.5102 GB, free: 15.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002242/0.5052, allocations: 1.219 MB / 0.5114 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.5057, allocations: 238.5 kB / 0.5116 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/0.5116, allocations: 3.128 MB / 0.5147 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.5117, allocations: 16 kB / 0.5147 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5117, allocations: 12 kB / 0.5147 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.5117, allocations: 7.969 kB / 0.5147 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.523, allocations: 6.541 MB / 0.5211 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.523, allocations: 4 kB / 0.5211 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.5239, allocations: 179.9 kB / 0.5213 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.5262, allocations: 0.9028 MB / 0.5222 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.5264, allocations: 43.98 kB / 0.5222 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.5453, allocations: 16.19 MB / 0.538 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.5453, allocations: 3.938 kB / 0.538 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007932/0.5533, allocations: 4.495 MB / 0.5424 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.5545, allocations: 0.5307 MB / 0.5429 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/0.5549, allocations: 39.94 kB / 0.543 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.5561, allocations: 75.94 kB / 0.543 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.5565, allocations: 157.1 kB / 0.5432 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5567, allocations: 43.98 kB / 0.5432 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00254/0.5592, allocations: 1.485 MB / 0.5447 GB, free: 10.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5592, allocations: 3.938 kB / 0.5447 GB, free: 10.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002813/0.562, allocations: 0.6992 MB / 0.5454 GB, free: 9.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008209/0.5702, allocations: 5.116 MB / 0.5504 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.5756, allocations: 3.035 MB / 0.5533 GB, free: 1.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5756, allocations: 0 / 0.5533 GB, free: 1.512 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1904/0.766, allocations: 2.184 MB / 0.5555 GB, free: 147.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/0.7696, allocations: 0.6382 MB / 0.5561 GB, free: 147.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04118/0.8108, allocations: 24.91 MB / 0.5804 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.8128, allocations: 2.68 MB / 0.583 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001464/0.8143, allocations: 479 kB / 0.5835 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.8155, allocations: 1.317 MB / 0.5848 GB, free: 135.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8155, allocations: 4 kB / 0.5848 GB, free: 135.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.9207, allocations: 64.62 MB / 0.6479 GB, free: 71.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.89, allocations: 7.875 kB / 0.6479 GB, free: 71.73 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.37798076897161] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 15.074733522022143 15.083232432 14.728681526 Calling exit ...