Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.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.001337/0.001337, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009508/0.0009508, allocations: 160.2 kB / 24.91 MB, free: 8.758 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.9177/0.9177, allocations: 177 MB / 205.2 MB, free: 5.035 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.2555/0.2555, allocations: 34.86 MB / 296.6 MB, free: 464 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.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.738e-05, allocations: 2.312 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.0181/0.01812, allocations: 23.82 MB / 349.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.03143, allocations: 7.176 MB / 357 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.03472, allocations: 210.8 kB / 357.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.03727, allocations: 1.661 MB / 358.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.0411, allocations: 2.287 MB / 361.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.04312, allocations: 1.493 MB / 362.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.04915, allocations: 8.586 MB / 371.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.05275, allocations: 4.014 MB / 375.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.05805, allocations: 6.094 MB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.06143, allocations: 4.151 MB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.06235, allocations: 1.082 MB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.06373, allocations: 1.308 MB / 387.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.06506, allocations: 2.509 MB / 390.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.06724, allocations: 3.099 MB / 393.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.07257, allocations: 7.177 MB / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.07258, allocations: 0 / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07258, allocations: 0 / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.433e-05/0.07263, allocations: 0 / 400.7 MB, free: 12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.009461/0.08209, allocations: 8.671 MB / 409.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.08212, allocations: 16.03 kB / 409.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.0867, allocations: 2.279 MB / 411.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.0904, allocations: 2.88 MB / 414.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.09064, allocations: 0.5141 MB / 415.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006245/0.09127, allocations: 0.6877 MB / 415.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005262/0.09653, allocations: 5.276 MB / 421 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-05/0.09663, allocations: 15.88 kB / 421 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004131/0.09704, allocations: 284 kB / 421.3 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.09723, allocations: 334.1 kB / 421.6 MB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.1002, allocations: 2.144 MB / 423.8 MB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.1178, allocations: 17.72 MB / 441.5 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1621/0.2799, allocations: 4.117 MB / 445.6 MB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003871/0.2838, allocations: 1.965 MB / 447.6 MB, free: 82.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.295, allocations: 4.127 MB / 451.7 MB, free: 82.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.2951, allocations: 65.61 kB / 451.8 MB, free: 82.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 6.282e-06/0.2951, allocations: 0 / 451.8 MB, free: 82.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01243/0.3075, allocations: 5.524 MB / 457.3 MB, free: 81.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3075, allocations: 79.19 kB / 457.4 MB, free: 81.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.311, allocations: 2.142 MB / 459.5 MB, free: 81.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.3114, allocations: 71.08 kB / 459.6 MB, free: 81.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.3129, allocations: 2.703 MB / 462.3 MB, free: 80.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/0.3138, allocations: 0.9556 MB / 463.3 MB, free: 79.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009612/0.3148, allocations: 0.576 MB / 463.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.3148, allocations: 302.1 kB / 464.1 MB, free: 79.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/0.3156, allocations: 401.5 kB / 464.5 MB, free: 79.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/0.3166, allocations: 1.438 MB / 466 MB, free: 78.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.3186, allocations: 2.142 MB / 468.1 MB, free: 76.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-05/0.3187, allocations: 7.438 kB / 468.1 MB, free: 76.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.003162/0.3218, allocations: 2.265 MB / 470.4 MB, free: 76.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3219, allocations: 18 kB / 470.4 MB, free: 76.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.3219, allocations: 35.47 kB / 470.4 MB, free: 76.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007938/0.3227, allocations: 433.2 kB / 470.8 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.324, allocations: 0.7385 MB / 471.6 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.3272, allocations: 6.471 MB / 478.1 MB, free: 70.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3288, allocations: 114 kB / 478.2 MB, free: 70.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.329, allocations: 119.4 kB / 478.3 MB, free: 70.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001367/0.3304, allocations: 332.1 kB / 478.6 MB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.3309, allocations: 292.9 kB / 478.9 MB, free: 69.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.3333, allocations: 2.025 MB / 480.9 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3333, allocations: 31.38 kB / 480.9 MB, free: 68.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.3333, allocations: 12 kB / 481 MB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.3334, allocations: 14.39 kB / 481 MB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/0.3419, allocations: 5.443 MB / 486.4 MB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3419, allocations: 7.984 kB / 486.4 MB, free: 64.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.3428, allocations: 364.4 kB / 486.8 MB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.3443, allocations: 0.8026 MB / 487.6 MB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.3444, allocations: 78.77 kB / 487.7 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006652/0.3511, allocations: 12.65 MB / 0.4886 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3511, allocations: 4 kB / 0.4886 GB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.3543, allocations: 2.589 MB / 0.4911 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009293/0.3553, allocations: 392.7 kB / 0.4915 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.3556, allocations: 64 kB / 0.4916 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.3563, allocations: 103.9 kB / 0.4917 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.3566, allocations: 208.5 kB / 0.4919 GB, free: 47.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.141e-05/0.3567, allocations: 59.97 kB / 0.4919 GB, free: 47.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.3578, allocations: 1.081 MB / 0.493 GB, free: 46.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3578, allocations: 0 / 0.493 GB, free: 46.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002899/0.3607, allocations: 1.148 MB / 0.4941 GB, free: 45.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (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,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (195): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,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.0003433/0.361, allocations: 200.2 kB / 0.4943 GB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.3631, allocations: 2.13 MB / 0.4964 GB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.937e-05/0.3632, allocations: 43.84 kB / 0.4964 GB, free: 43.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.3647, allocations: 1.989 MB / 0.4983 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.3666, allocations: 0.8246 MB / 0.4991 GB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.3788, allocations: 10.16 MB / 0.5091 GB, free: 30.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3798, allocations: 1.33 MB / 0.5104 GB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.3812, allocations: 489.9 kB / 0.5108 GB, free: 28.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.3823, allocations: 0.7763 MB / 0.5116 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.144e-06/0.3823, allocations: 0 / 0.5116 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.06565/0.4479, allocations: 51.5 MB / 0.5619 GB, free: 8.863 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.224513143766671]