Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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.0006774/0.0006774, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001566, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007098/0.0007098, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009227/0.001633, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.965/0.965, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09229/1.057, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2666/0.2666, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02519/0.2917, allocations: 13.23 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.007e-05, allocations: 2.969 kB / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01528/0.0153, allocations: 21.6 MB / 315.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02618, allocations: 6.908 MB / 322.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.02868, allocations: 178.9 kB / 322.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.03091, allocations: 1.564 MB / 324.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.03486, allocations: 2.193 MB / 326.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.03692, allocations: 1.33 MB / 327.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0052/0.04212, allocations: 6.896 MB / 334.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.04473, allocations: 3.085 MB / 337.9 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.04961, allocations: 5.302 MB / 343.2 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.05236, allocations: 3.215 MB / 346.4 MB, free: 424 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.05339, allocations: 0.7969 MB / 347.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.055, allocations: 1.113 MB / 348.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.05601, allocations: 1.672 MB / 350 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.05782, allocations: 1.997 MB / 352 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.06337, allocations: 5.319 MB / 357.3 MB, free: 5.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.06338, allocations: 4 kB / 357.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06338, allocations: 3.938 kB / 357.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.789e-05/0.06346, allocations: 4 kB / 357.3 MB, free: 5.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.008081/0.07154, allocations: 7.963 MB / 365.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.07158, allocations: 8.922 kB / 365.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.07436, allocations: 1.464 MB / 366.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.0777, allocations: 2.451 MB / 369.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.07789, allocations: 403.1 kB / 369.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.07837, allocations: 0.5276 MB / 370.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.08235, allocations: 4.047 MB / 374.2 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.08243, allocations: 7.953 kB / 374.2 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.08273, allocations: 224 kB / 374.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.08288, allocations: 254.6 kB / 374.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.08637, allocations: 1.616 MB / 376.3 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.1049, allocations: 14.25 MB / 390.5 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.1074, allocations: 2.36 MB / 392.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.1084, allocations: 0.9418 MB / 393.8 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.1086, allocations: 126.2 kB / 394 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.1087, allocations: 72.66 kB / 394 MB, free: 15.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=281): time 4.238e-06/0.1087, allocations: 0 / 394 MB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=303): time 0.009915/0.1186, allocations: 5.666 MB / 399.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1187, allocations: 85.73 kB / 399.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.1203, allocations: 2.039 MB / 401.8 MB, free: 8.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.1204, allocations: 73.7 kB / 401.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.1212, allocations: 2.072 MB / 404 MB, free: 5.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.1218, allocations: 1.08 MB / 405.1 MB, free: 4.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/0.1223, allocations: 0.5862 MB / 405.6 MB, free: 4.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.1224, allocations: 301.1 kB / 405.9 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.1229, allocations: 396 kB / 406.3 MB, free: 3.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/0.1238, allocations: 1.363 MB / 407.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.1255, allocations: 2.234 MB / 409.9 MB, free: 15.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.1255, allocations: 12 kB / 409.9 MB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=457) (initialization): time 0.002566/0.1281, allocations: 2.203 MB / 412.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1281, allocations: 16 kB / 412.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.1281, allocations: 32 kB / 412.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.1287, allocations: 360.8 kB / 412.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.1305, allocations: 0.8932 MB / 413.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.1345, allocations: 7.518 MB / 420.9 MB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.136, allocations: 119.9 kB / 421.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.1362, allocations: 120 kB / 421.2 MB, free: 3.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (426): * Single equations (assignments): 419 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001084/0.1373, allocations: 347.6 kB / 421.5 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.1378, allocations: 295.7 kB / 421.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.1401, allocations: 1.902 MB / 423.7 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.1401, allocations: 28 kB / 423.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.1402, allocations: 8 kB / 423.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.1402, allocations: 15.94 kB / 423.8 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007442/0.1476, allocations: 5.574 MB / 429.3 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.1476, allocations: 12.03 kB / 429.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.1488, allocations: 0.5227 MB / 429.9 MB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/0.1498, allocations: 413.6 kB / 430.3 MB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.1509, allocations: 0.5758 MB / 430.8 MB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.1511, allocations: 75.97 kB / 430.9 MB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1583/0.3094, allocations: 12.14 MB / 443.1 MB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.3094, allocations: 10.94 kB / 443.1 MB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.3127, allocations: 2.687 MB / 445.8 MB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.3132, allocations: 75.58 kB / 445.8 MB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.314, allocations: 101 kB / 445.9 MB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.3143, allocations: 239.5 kB / 446.2 MB, free: 89.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.3144, allocations: 67.81 kB / 446.2 MB, free: 89.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.3155, allocations: 1.029 MB / 447.3 MB, free: 89.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3155, allocations: 2.969 kB / 447.3 MB, free: 89.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002484/0.3179, allocations: 1.025 MB / 448.3 MB, free: 89.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.phi) * 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 (261): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004081/0.3184, allocations: 263.4 kB / 448.5 MB, free: 89.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.3208, allocations: 2.366 MB / 450.9 MB, free: 89.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.171e-05/0.3208, allocations: 69.81 kB / 451 MB, free: 89.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.3225, allocations: 2.159 MB / 453.1 MB, free: 88.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.3259, allocations: 8.33 MB / 461.5 MB, free: 79.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/0.3586, allocations: 8.971 MB / 470.4 MB, free: 76.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.3598, allocations: 1.134 MB / 471.6 MB, free: 75.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001563/0.3614, allocations: 499.5 kB / 472.1 MB, free: 75.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.3627, allocations: 0.8324 MB / 472.9 MB, free: 75.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.532e-06/0.3627, allocations: 0 / 472.9 MB, free: 75.72 MB / 426.7 MB Notification: Performance of Templates: time 0.05954/0.4222, allocations: 52.82 MB / 0.5134 GB, free: 29.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.090469951741397]