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.0007033/0.0007033, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009538/0.001657, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006912/0.0006912, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009621/0.001653, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.011/1.011, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.114, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.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.2698/0.2698, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03117/0.301, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.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.272e-06/1.272e-06, allocations: 0 / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.444e-05, allocations: 3.297 kB / 294.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.01728/0.0173, allocations: 24.02 MB / 318.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.03199, allocations: 7.223 MB / 325.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.03533, allocations: 210.7 kB / 325.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.03856, allocations: 1.688 MB / 327.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.0442, allocations: 2.266 MB / 329.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.04705, allocations: 1.49 MB / 331.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008173/0.05523, allocations: 8.609 MB / 339.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.06008, allocations: 4.018 MB / 343.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007767/0.06785, allocations: 6.527 MB / 350.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005372/0.07322, allocations: 4.139 MB / 354.4 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.07508, allocations: 1.082 MB / 355.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.07719, allocations: 1.316 MB / 356.8 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.07881, allocations: 2.022 MB / 358.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.08207, allocations: 2.589 MB / 361.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006926/0.089, allocations: 6.799 MB / 368.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/0.08901, allocations: 0 / 368.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08901, allocations: 0 / 368.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.08919, allocations: 3.938 kB / 368.2 MB, free: 10.56 MB / 362.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.01268/0.1019, allocations: 10.27 MB / 378.5 MB, free: 200 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1019, allocations: 8.922 kB / 378.5 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.1065, allocations: 2.291 MB / 380.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/0.1106, allocations: 2.876 MB / 383.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.1108, allocations: 0.5063 MB / 384.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006207/0.1114, allocations: 0.6916 MB / 384.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/0.1168, allocations: 5.276 MB / 390.1 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.535e-05/0.1169, allocations: 11.89 kB / 390.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.1173, allocations: 284 kB / 390.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.1175, allocations: 326.2 kB / 390.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.1204, allocations: 2.144 MB / 392.9 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.1387, allocations: 17.82 MB / 410.7 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.1434, allocations: 4.133 MB / 414.8 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.1455, allocations: 1.951 MB / 416.8 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.1457, allocations: 118.8 kB / 416.9 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.1457, allocations: 73.47 kB / 417 MB, free: 8.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=370): time 5.37e-06/0.1457, allocations: 7.938 kB / 417 MB, free: 8.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.01122/0.157, allocations: 7.131 MB / 424.1 MB, free: 1.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.157, allocations: 94.38 kB / 424.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.1587, allocations: 2.078 MB / 426.3 MB, free: 15.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.1588, allocations: 89.7 kB / 426.4 MB, free: 15.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.1597, allocations: 2.522 MB / 428.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.1603, allocations: 1.332 MB / 430.2 MB, free: 11.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006211/0.1609, allocations: 0.6661 MB / 430.9 MB, free: 10.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.161, allocations: 309 kB / 431.2 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.1616, allocations: 485.9 kB / 431.7 MB, free: 10 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.1628, allocations: 1.492 MB / 433.2 MB, free: 8.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.1648, allocations: 2.449 MB / 435.6 MB, free: 5.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.1648, allocations: 8 kB / 435.6 MB, free: 5.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=530) (initialization): time 0.002674/0.1675, allocations: 2.542 MB / 438.2 MB, free: 2.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1675, allocations: 20.72 kB / 438.2 MB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.1675, allocations: 28 kB / 438.2 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008075/0.1683, allocations: 481.2 kB / 438.7 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.1706, allocations: 1.096 MB / 439.8 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1521/0.3227, allocations: 6.753 MB / 446.5 MB, free: 87.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.3247, allocations: 129.4 kB / 446.6 MB, free: 87.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.3249, allocations: 130.1 kB / 446.8 MB, free: 87.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (498): * Single equations (assignments): 492 * 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,9,100.0%), (1,1,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.3261, allocations: 367 kB / 447.1 MB, free: 87.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.3265, allocations: 346.4 kB / 447.5 MB, free: 87.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.3294, allocations: 2.442 MB / 449.9 MB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.3294, allocations: 41.28 kB / 450 MB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.3294, allocations: 13.56 kB / 450 MB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.3294, allocations: 22.62 kB / 450 MB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007522/0.3369, allocations: 7.214 MB / 457.2 MB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.337, allocations: 6.344 kB / 457.2 MB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.3382, allocations: 0.6298 MB / 457.8 MB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.3389, allocations: 444.8 kB / 458.3 MB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.3402, allocations: 0.8206 MB / 459.1 MB, free: 86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.3404, allocations: 93.55 kB / 459.2 MB, free: 86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/0.3463, allocations: 12.7 MB / 471.9 MB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.3463, allocations: 10.41 kB / 471.9 MB, free: 77.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.3493, allocations: 3.3 MB / 475.2 MB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.3495, allocations: 88.38 kB / 475.3 MB, free: 76.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.3502, allocations: 124.5 kB / 475.4 MB, free: 76.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.3506, allocations: 282.2 kB / 475.7 MB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.3507, allocations: 79.52 kB / 475.8 MB, free: 76.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000899/0.3516, allocations: 1.058 MB / 476.8 MB, free: 76.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 2.078 kB / 476.8 MB, free: 76.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002186/0.3538, allocations: 1.243 MB / 478.1 MB, free: 76.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (308): * Single equations (assignments): 301 * 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.0003419/0.3541, allocations: 242.7 kB / 478.3 MB, free: 75.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3563, allocations: 2.529 MB / 480.8 MB, free: 75.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.962e-05/0.3564, allocations: 66.47 kB / 480.9 MB, free: 75.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.3582, allocations: 2.449 MB / 483.3 MB, free: 74.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.3612, allocations: 8.307 MB / 491.6 MB, free: 64.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/0.399, allocations: 11.2 MB / 0.4911 GB, free: 54.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4002, allocations: 1.398 MB / 0.4924 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001591/0.4018, allocations: 0.5439 MB / 0.493 GB, free: 53.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.4031, allocations: 0.8777 MB / 0.4938 GB, free: 52.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4031, allocations: 0 / 0.4938 GB, free: 52.71 MB / 426.7 MB Notification: Performance of Templates: time 0.06683/0.47, allocations: 59.3 MB / 0.5517 GB, free: 10.2 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.33143609482795]