Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.0007993/0.0007993, 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.001461/0.001461, 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.8976/0.8976, allocations: 177 MB / 205.1 MB, free: 5.488 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.2331/0.2331, allocations: 34.87 MB / 296.6 MB, free: 0.5195 MB / 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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.229e-05, allocations: 4.844 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01523/0.01525, allocations: 20.03 MB / 399.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.02628, allocations: 6.091 MB / 405.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.02952, allocations: 178.9 kB / 405.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.03256, allocations: 1.381 MB / 407 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.03768, allocations: 2.041 MB / 409 MB, free: 3.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.0399, allocations: 1.259 MB / 410.3 MB, free: 2.625 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005706/0.0456, allocations: 6.43 MB / 416.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.04923, allocations: 2.94 MB / 419.7 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005855/0.05508, allocations: 4.69 MB / 424.4 MB, free: 4.445 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.05889, allocations: 3.079 MB / 427.4 MB, free: 1.359 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.06047, allocations: 0.7656 MB / 428.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.06231, allocations: 1.054 MB / 429.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.06376, allocations: 1.979 MB / 431.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002814/0.06657, allocations: 2.276 MB / 433.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.07281, allocations: 5.397 MB / 438.9 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.07281, allocations: 4 kB / 438.9 MB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.07282, allocations: 0 / 438.9 MB, free: 5.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002865/0.0731, allocations: 0 / 438.9 MB, free: 5.855 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.1575/0.2306, allocations: 6.69 MB / 445.6 MB, free: 73.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2306, allocations: 14.48 kB / 445.6 MB, free: 73.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.2338, allocations: 1.523 MB / 447.1 MB, free: 72.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.2376, allocations: 3.314 MB / 450.5 MB, free: 72.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.2378, allocations: 391.1 kB / 450.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.2383, allocations: 0.5084 MB / 451.3 MB, free: 72.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.2429, allocations: 3.776 MB / 455.1 MB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.392e-05/0.243, allocations: 11.05 kB / 455.1 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.2432, allocations: 213.2 kB / 455.3 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.2434, allocations: 250.6 kB / 455.6 MB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.2457, allocations: 1.539 MB / 457.1 MB, free: 71.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.2637, allocations: 16.51 MB / 473.6 MB, free: 63.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/0.267, allocations: 2.578 MB / 476.2 MB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2684, allocations: 0.9946 MB / 477.2 MB, free: 62.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005517/0.2739, allocations: 3.457 MB / 480.7 MB, free: 60.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2739, allocations: 63.84 kB / 480.7 MB, free: 60.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 3.937e-06/0.2739, allocations: 0 / 480.7 MB, free: 60.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.009493/0.2834, allocations: 4.603 MB / 485.3 MB, free: 59.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2834, allocations: 73.94 kB / 485.4 MB, free: 59.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2861, allocations: 2.21 MB / 487.6 MB, free: 58.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.2862, allocations: 65.98 kB / 487.7 MB, free: 58.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.2874, allocations: 2.568 MB / 490.2 MB, free: 56.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/0.2879, allocations: 0.8165 MB / 491.1 MB, free: 56.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/0.2886, allocations: 0.5463 MB / 491.6 MB, free: 56.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.2886, allocations: 478.6 kB / 492.1 MB, free: 55.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.2892, allocations: 330 kB / 492.4 MB, free: 55.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.2902, allocations: 1.657 MB / 494.1 MB, free: 53.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.2923, allocations: 2.235 MB / 496.3 MB, free: 52.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/0.2923, allocations: 9.969 kB / 496.3 MB, free: 52.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.003497/0.2958, allocations: 2.391 MB / 498.7 MB, free: 51.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2958, allocations: 20.16 kB / 498.7 MB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.2959, allocations: 27.78 kB / 498.7 MB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/0.2966, allocations: 350.1 kB / 499.1 MB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.2982, allocations: 0.6271 MB / 499.7 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.3024, allocations: 10.28 MB / 0.498 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.3038, allocations: 108.8 kB / 0.4981 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.304, allocations: 104.4 kB / 0.4982 GB, free: 41.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (344): * Single equations (assignments): 337 * 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,11,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.001067/0.305, allocations: 340.4 kB / 0.4986 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.3055, allocations: 389.1 kB / 0.4989 GB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.3084, allocations: 1.883 MB / 0.5008 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.3084, allocations: 24.28 kB / 0.5008 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.3084, allocations: 6.469 kB / 0.5008 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.3084, allocations: 13.47 kB / 0.5008 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/0.3155, allocations: 5.368 MB / 0.5061 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.3155, allocations: 4 kB / 0.5061 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/0.3163, allocations: 336.3 kB / 0.5064 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.3173, allocations: 0.5113 MB / 0.5069 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.3174, allocations: 63.73 kB / 0.5069 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.3229, allocations: 16.8 MB / 0.5233 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3229, allocations: 4 kB / 0.5234 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3261, allocations: 2.569 MB / 0.5259 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/0.3269, allocations: 497.2 kB / 0.5263 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.3271, allocations: 49.03 kB / 0.5264 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.3278, allocations: 87.25 kB / 0.5265 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.3281, allocations: 177.5 kB / 0.5266 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.3281, allocations: 51.41 kB / 0.5267 GB, free: 17.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.3293, allocations: 1.139 MB / 0.5278 GB, free: 16.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 0.5278 GB, free: 16.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002494/0.3318, allocations: 0.9235 MB / 0.5287 GB, free: 15.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],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 (181): * Single equations (assignments): 173 * 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,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,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.0003468/0.3321, allocations: 258.6 kB / 0.5289 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.3343, allocations: 2.435 MB / 0.5313 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3343, allocations: 0 / 0.5313 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.3357, allocations: 2.32 MB / 0.5336 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.3375, allocations: 0.7229 MB / 0.5343 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/0.3462, allocations: 8.159 MB / 0.5423 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/0.3471, allocations: 1.241 MB / 0.5435 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.3482, allocations: 418.1 kB / 0.5439 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.3492, allocations: 0.7829 MB / 0.5446 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3492, allocations: 0 / 0.5446 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of Templates: time 0.05772/0.4069, allocations: 43.09 MB / 0.5867 GB, free: 6.508 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.997245110105723]