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.0009276/0.0009276, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0008858/0.0008858, allocations: 171.9 kB / 24.83 MB, free: 9.254 MB / 18.57 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.9015/0.9015, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.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.242/0.242, allocations: 34.87 MB / 296.6 MB, free: 444 kB / 266.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 1.432e-06/1.432e-06, allocations: 0 / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.246e-05, allocations: 8.984 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.01565/0.01568, allocations: 21.38 MB / 400.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.0256, allocations: 6.57 MB / 407.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.02816, allocations: 178.9 kB / 407.5 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.03134, allocations: 1.517 MB / 409 MB, free: 3.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.03597, allocations: 2.196 MB / 411.2 MB, free: 1.703 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.03811, allocations: 1.325 MB / 412.5 MB, free: 384 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006151/0.04426, allocations: 6.868 MB / 419.4 MB, free: 9.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.04729, allocations: 3.03 MB / 422.4 MB, free: 6.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.05241, allocations: 4.928 MB / 427.3 MB, free: 1.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.05567, allocations: 3.223 MB / 430.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008613/0.05653, allocations: 0.8008 MB / 431.4 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.05799, allocations: 1.093 MB / 432.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.05907, allocations: 2.06 MB / 434.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.061, allocations: 2.397 MB / 436.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.06637, allocations: 5.642 MB / 442.5 MB, free: 2.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.06637, allocations: 3.938 kB / 442.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.06637, allocations: 0 / 442.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001258/0.0665, allocations: 0 / 442.5 MB, free: 2.172 MB / 410.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.1437/0.2102, allocations: 7.044 MB / 449.6 MB, free: 72.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2102, allocations: 8.781 kB / 449.6 MB, free: 72.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.2131, allocations: 1.614 MB / 451.2 MB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.2169, allocations: 3.477 MB / 454.7 MB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.2171, allocations: 407.3 kB / 455.1 MB, free: 72.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005328/0.2177, allocations: 0.5282 MB / 455.6 MB, free: 72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.2223, allocations: 3.967 MB / 459.6 MB, free: 71.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.2224, allocations: 13.89 kB / 459.6 MB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.2227, allocations: 217.5 kB / 459.8 MB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.2229, allocations: 264.1 kB / 460.1 MB, free: 71.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.2253, allocations: 1.613 MB / 461.7 MB, free: 71.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.2469, allocations: 17.79 MB / 479.5 MB, free: 61.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.251, allocations: 2.569 MB / 482 MB, free: 61.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.2525, allocations: 1.019 MB / 483.1 MB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005745/0.2582, allocations: 3.62 MB / 486.7 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.2582, allocations: 60.55 kB / 486.7 MB, free: 58.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.329e-06/0.2582, allocations: 2.516 kB / 486.7 MB, free: 58.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.008892/0.2671, allocations: 4.903 MB / 491.6 MB, free: 57.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2672, allocations: 79.38 kB / 491.7 MB, free: 57.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.2697, allocations: 2.403 MB / 494.1 MB, free: 56.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.2698, allocations: 70.05 kB / 494.2 MB, free: 56.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.2709, allocations: 2.744 MB / 496.9 MB, free: 54.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.2714, allocations: 0.886 MB / 497.8 MB, free: 53.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005343/0.2719, allocations: 0.5899 MB / 498.4 MB, free: 53.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.2719, allocations: 477.5 kB / 498.9 MB, free: 53.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.2724, allocations: 353.6 kB / 499.2 MB, free: 53.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.2733, allocations: 1.83 MB / 0.4893 GB, free: 51.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.2749, allocations: 2.446 MB / 0.4917 GB, free: 49.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.2749, allocations: 12.84 kB / 0.4917 GB, free: 49.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.003206/0.2781, allocations: 2.575 MB / 0.4942 GB, free: 48.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.2781, allocations: 19.47 kB / 0.4942 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.2782, allocations: 31.23 kB / 0.4943 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.2788, allocations: 364.3 kB / 0.4946 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.2801, allocations: 0.6738 MB / 0.4953 GB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.2835, allocations: 10.34 MB / 0.5054 GB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.2849, allocations: 120.8 kB / 0.5055 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.285, allocations: 119.2 kB / 0.5056 GB, free: 38.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (376): * Single equations (assignments): 369 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009892/0.286, allocations: 361.5 kB / 0.5059 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/0.2865, allocations: 410.9 kB / 0.5063 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.2888, allocations: 2.007 MB / 0.5083 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2888, allocations: 20 kB / 0.5083 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.2888, allocations: 8 kB / 0.5083 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2888, allocations: 14.17 kB / 0.5083 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/0.2956, allocations: 5.702 MB / 0.5139 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2956, allocations: 8.062 kB / 0.5139 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.2964, allocations: 365.5 kB / 0.5143 GB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009443/0.2974, allocations: 0.5345 MB / 0.5148 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.2975, allocations: 63.03 kB / 0.5148 GB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.3028, allocations: 16.87 MB / 0.5313 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3028, allocations: 11.69 kB / 0.5313 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.3059, allocations: 2.743 MB / 0.534 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/0.3068, allocations: 0.5239 MB / 0.5345 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.3071, allocations: 59.8 kB / 0.5346 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.3078, allocations: 78.94 kB / 0.5347 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.308, allocations: 192.8 kB / 0.5348 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/0.3081, allocations: 62.42 kB / 0.5349 GB, free: 10.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.3091, allocations: 1.239 MB / 0.5361 GB, free: 10.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 0 / 0.5361 GB, free: 10.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002344/0.3115, allocations: 0.9765 MB / 0.5371 GB, free: 9.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (197): * Single equations (assignments): 189 * 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.0003644/0.3118, allocations: 275.6 kB / 0.5373 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3141, allocations: 2.54 MB / 0.5398 GB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3141, allocations: 0 / 0.5398 GB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.3155, allocations: 2.367 MB / 0.5421 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.3176, allocations: 0.8361 MB / 0.5429 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009874/0.3275, allocations: 8.618 MB / 0.5513 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.3289, allocations: 1.286 MB / 0.5526 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001311/0.3302, allocations: 468.6 kB / 0.5531 GB, free: 8.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.3319, allocations: 0.8727 MB / 0.5539 GB, free: 7.922 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.3319, allocations: 0 / 0.5539 GB, free: 7.922 MB / 426.7 MB Notification: Performance of Templates: time 0.1279/0.4598, allocations: 47.36 MB / 0.6002 GB, free: 9.285 MB / 474.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.364482929930091]