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.0009/0.0009, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001509/0.001509, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9345/0.9345, allocations: 177 MB / 204.8 MB, free: 5.562 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.2712/0.2712, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.012e-06/1.012e-06, allocations: 0 / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.373e-05, allocations: 2.312 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01654/0.01656, allocations: 20.84 MB / 399.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008401/0.02496, allocations: 6.13 MB / 405.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.0263, allocations: 174.9 kB / 406 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.02814, allocations: 1.377 MB / 407.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.03073, allocations: 2.041 MB / 409.4 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.03209, allocations: 1.267 MB / 410.7 MB, free: 1.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.03574, allocations: 6.441 MB / 417.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.0382, allocations: 2.936 MB / 420.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.04111, allocations: 4.351 MB / 424.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.0435, allocations: 3.18 MB / 427.6 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.04412, allocations: 0.7773 MB / 428.4 MB, free: 172 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.04523, allocations: 1.074 MB / 429.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.04638, allocations: 2.041 MB / 431.5 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.04803, allocations: 2.319 MB / 433.8 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.05288, allocations: 5.479 MB / 439.3 MB, free: 5.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.05289, allocations: 0 / 439.3 MB, free: 5.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.604e-06/0.05289, allocations: 4 kB / 439.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001883/0.05308, allocations: 4 kB / 439.3 MB, free: 5.219 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.1724/0.2255, allocations: 6.958 MB / 446.3 MB, free: 72.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2255, allocations: 8.938 kB / 446.3 MB, free: 72.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.2297, allocations: 1.59 MB / 447.9 MB, free: 72.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.2342, allocations: 3.413 MB / 451.3 MB, free: 71.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.2344, allocations: 386.9 kB / 451.7 MB, free: 71.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005654/0.2349, allocations: 0.5025 MB / 452.2 MB, free: 71.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.2408, allocations: 4.119 MB / 456.3 MB, free: 71.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.2409, allocations: 10.17 kB / 456.3 MB, free: 71.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/0.2412, allocations: 215 kB / 456.5 MB, free: 71.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.2414, allocations: 245.3 kB / 456.7 MB, free: 71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.2452, allocations: 1.95 MB / 458.7 MB, free: 70.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.2624, allocations: 16.83 MB / 475.5 MB, free: 61.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.2655, allocations: 2.71 MB / 478.2 MB, free: 61.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.2671, allocations: 1.114 MB / 479.3 MB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005692/0.2728, allocations: 3.695 MB / 483 MB, free: 59.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.2729, allocations: 60.17 kB / 483.1 MB, free: 58.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=205): time 4.018e-06/0.2729, allocations: 0 / 483.1 MB, free: 58.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.00975/0.2826, allocations: 5.74 MB / 488.8 MB, free: 56.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2826, allocations: 77.69 kB / 488.9 MB, free: 56.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.2855, allocations: 2.28 MB / 491.2 MB, free: 55.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.2856, allocations: 61.89 kB / 491.3 MB, free: 55.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/0.2866, allocations: 2.544 MB / 493.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.287, allocations: 0.8136 MB / 494.6 MB, free: 53.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/0.2876, allocations: 0.531 MB / 495.1 MB, free: 52.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.2876, allocations: 477.4 kB / 495.6 MB, free: 52.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/0.2884, allocations: 437.7 kB / 496 MB, free: 52.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2895, allocations: 1.758 MB / 497.8 MB, free: 50.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.2916, allocations: 2.415 MB / 0.4885 GB, free: 48.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.2916, allocations: 9.75 kB / 0.4885 GB, free: 48.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.003523/0.2951, allocations: 2.634 MB / 0.4911 GB, free: 47.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.2952, allocations: 20.31 kB / 0.4911 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.2952, allocations: 30.66 kB / 0.4911 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.296, allocations: 363.6 kB / 0.4915 GB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.2974, allocations: 0.6722 MB / 0.4921 GB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.3024, allocations: 10.5 MB / 0.5024 GB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3038, allocations: 175.4 kB / 0.5025 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.304, allocations: 129.4 kB / 0.5027 GB, free: 37.7 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.001256/0.3053, allocations: 352.8 kB / 0.503 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/0.3057, allocations: 378.7 kB / 0.5034 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.3086, allocations: 2.087 MB / 0.5054 GB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3086, allocations: 19.84 kB / 0.5054 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.3086, allocations: 11.94 kB / 0.5054 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.3086, allocations: 11.06 kB / 0.5054 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.3162, allocations: 5.628 MB / 0.5109 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3162, allocations: 4 kB / 0.5109 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/0.317, allocations: 368.5 kB / 0.5113 GB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.3181, allocations: 0.5382 MB / 0.5118 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.3182, allocations: 58.94 kB / 0.5119 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006402/0.3246, allocations: 17.21 MB / 0.5287 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3246, allocations: 7.844 kB / 0.5287 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.3284, allocations: 2.855 MB / 0.5315 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/0.3293, allocations: 0.5272 MB / 0.532 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.3296, allocations: 55.52 kB / 0.532 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/0.3303, allocations: 127.4 kB / 0.5322 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.3306, allocations: 175.9 kB / 0.5323 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.3307, allocations: 67.75 kB / 0.5324 GB, free: 9.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001452/0.3322, allocations: 1.27 MB / 0.5336 GB, free: 8.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3322, allocations: 0 / 0.5336 GB, free: 8.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002739/0.3349, allocations: 0.9257 MB / 0.5345 GB, free: 7.953 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.0004364/0.3353, allocations: 259.3 kB / 0.5348 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.3383, allocations: 2.635 MB / 0.5374 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.3383, allocations: 0 / 0.5374 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.3401, allocations: 2.431 MB / 0.5397 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.3419, allocations: 0.7356 MB / 0.5405 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.3529, allocations: 8.27 MB / 0.5485 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.3542, allocations: 1.243 MB / 0.5497 GB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001413/0.3556, allocations: 0.6072 MB / 0.5503 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.3561, allocations: 212.5 kB / 0.5505 GB, free: 8.293 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3561, allocations: 0 / 0.5505 GB, free: 8.293 MB / 426.7 MB Notification: Performance of Templates: time 0.05412/0.4102, allocations: 41.18 MB / 0.5908 GB, free: 15.74 MB / 474.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.419497071765363]