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.001215/0.001215, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.0009446/0.0009446, allocations: 159.5 kB / 24.99 MB, free: 9.328 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.9634/0.9634, allocations: 177 MB / 205.2 MB, free: 5.605 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.2621/0.2621, allocations: 34.87 MB / 296.6 MB, free: 496 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.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.893e-06/1.893e-06, allocations: 0 / 378.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.076e-05, allocations: 4.703 kB / 378.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01668/0.0167, allocations: 20.74 MB / 399.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00864/0.02534, allocations: 6.114 MB / 405.7 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.02702, allocations: 174.9 kB / 405.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.02932, allocations: 1.385 MB / 407.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.03216, allocations: 2.034 MB / 409.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.03369, allocations: 1.263 MB / 410.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.03782, allocations: 6.444 MB / 417 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.04039, allocations: 2.932 MB / 419.9 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.04377, allocations: 4.355 MB / 424.3 MB, free: 4.586 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.04622, allocations: 3.18 MB / 427.5 MB, free: 1.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006353/0.04686, allocations: 0.7812 MB / 428.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.04819, allocations: 1.074 MB / 429.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.04928, allocations: 2.041 MB / 431.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.05086, allocations: 2.319 MB / 433.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.05522, allocations: 5.475 MB / 439.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.05522, allocations: 0 / 439.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05523, allocations: 0 / 439.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.097e-05/0.05528, allocations: 0 / 439.2 MB, free: 5.68 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.1359/0.1912, allocations: 6.955 MB / 446.1 MB, free: 99.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1912, allocations: 8.312 kB / 446.1 MB, free: 99.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.1941, allocations: 1.596 MB / 447.7 MB, free: 99.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.1975, allocations: 3.408 MB / 451.1 MB, free: 97.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.1977, allocations: 389.2 kB / 451.5 MB, free: 97.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.1981, allocations: 0.5145 MB / 452 MB, free: 97.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005155/0.2032, allocations: 4.112 MB / 456.1 MB, free: 95.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.673e-05/0.2033, allocations: 13.67 kB / 456.2 MB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.2036, allocations: 211.3 kB / 456.4 MB, free: 95.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.2038, allocations: 241.8 kB / 456.6 MB, free: 95.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/0.2074, allocations: 1.955 MB / 458.5 MB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.2223, allocations: 16.84 MB / 475.4 MB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.2255, allocations: 2.713 MB / 478.1 MB, free: 84.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.2269, allocations: 1.115 MB / 479.2 MB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004832/0.2318, allocations: 3.692 MB / 482.9 MB, free: 82.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2318, allocations: 64.33 kB / 483 MB, free: 82.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=205): time 3.527e-06/0.2318, allocations: 0 / 483 MB, free: 82.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.00861/0.2404, allocations: 5.731 MB / 488.7 MB, free: 80.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2405, allocations: 74.47 kB / 488.8 MB, free: 80.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.2427, allocations: 2.278 MB / 491.1 MB, free: 79.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/0.2428, allocations: 60.95 kB / 491.1 MB, free: 79.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/0.2436, allocations: 2.548 MB / 493.7 MB, free: 77.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.244, allocations: 0.8166 MB / 494.5 MB, free: 76.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/0.2445, allocations: 0.535 MB / 495 MB, free: 76.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.2445, allocations: 480.2 kB / 495.5 MB, free: 75.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.2453, allocations: 434.8 kB / 495.9 MB, free: 75.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.2464, allocations: 1.756 MB / 497.7 MB, free: 73.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.2482, allocations: 2.416 MB / 0.4884 GB, free: 71.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.2482, allocations: 8 kB / 0.4884 GB, free: 71.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.003138/0.2514, allocations: 2.632 MB / 0.4909 GB, free: 68.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2514, allocations: 16.7 kB / 0.4909 GB, free: 68.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.2514, allocations: 28 kB / 0.491 GB, free: 68.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006974/0.2521, allocations: 371.4 kB / 0.4913 GB, free: 68.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.2534, allocations: 0.6745 MB / 0.492 GB, free: 67.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.2573, allocations: 10.5 MB / 0.5022 GB, free: 57.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.2584, allocations: 166 kB / 0.5024 GB, free: 56.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.2585, allocations: 136.1 kB / 0.5025 GB, free: 56.86 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 (345): * Single equations (assignments): 338 * 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.0008632/0.2594, allocations: 340.9 kB / 0.5029 GB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.2597, allocations: 378.7 kB / 0.5032 GB, free: 56.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2625, allocations: 2.096 MB / 0.5053 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2625, allocations: 20 kB / 0.5053 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.2625, allocations: 12.56 kB / 0.5053 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.2625, allocations: 10.73 kB / 0.5053 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.2687, allocations: 5.618 MB / 0.5108 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2687, allocations: 8.094 kB / 0.5108 GB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.2696, allocations: 366.5 kB / 0.5111 GB, free: 49.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.2706, allocations: 0.54 MB / 0.5117 GB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.2707, allocations: 63.97 kB / 0.5117 GB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.2766, allocations: 17.21 MB / 0.5285 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2766, allocations: 4 kB / 0.5286 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.2798, allocations: 2.845 MB / 0.5313 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/0.2804, allocations: 0.5291 MB / 0.5318 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.2807, allocations: 51.98 kB / 0.5319 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.2814, allocations: 127.9 kB / 0.532 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.2817, allocations: 177.5 kB / 0.5322 GB, free: 26.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.2817, allocations: 68.11 kB / 0.5323 GB, free: 26.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001127/0.2829, allocations: 1.261 MB / 0.5335 GB, free: 25.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2829, allocations: 7.938 kB / 0.5335 GB, free: 25.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002019/0.2849, allocations: 0.9335 MB / 0.5344 GB, free: 24.33 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 (182): * Single equations (assignments): 174 * 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%), (2,1,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.0003567/0.2852, allocations: 266.9 kB / 0.5347 GB, free: 24.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.2877, allocations: 2.63 MB / 0.5372 GB, free: 21.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2877, allocations: 1.875 kB / 0.5372 GB, free: 21.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.2893, allocations: 2.424 MB / 0.5396 GB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.291, allocations: 0.7455 MB / 0.5403 GB, free: 18.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008458/0.2994, allocations: 8.257 MB / 0.5484 GB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.3003, allocations: 1.239 MB / 0.5496 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001076/0.3013, allocations: 0.6072 MB / 0.5502 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.3017, allocations: 212.5 kB / 0.5504 GB, free: 7.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3017, allocations: 0 / 0.5504 GB, free: 7.578 MB / 410.7 MB Notification: Performance of Templates: time 0.05023/0.352, allocations: 41.19 MB / 0.5906 GB, free: 14.92 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: 4.2119225529022515]