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.001063/0.001063, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002485, allocations: 449.7 kB / 10.37 MB, free: 324 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.001104/0.001104, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002461, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9374/0.9374, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08448/1.022, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2608/0.2608, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02215/0.2829, allocations: 13.24 MB / 292.6 MB, free: 6.473 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.553e-06/1.553e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.433e-05, allocations: 2.312 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02264/0.02265, allocations: 24.02 MB / 318 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.03406, allocations: 7.215 MB / 325.2 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.03672, allocations: 206.8 kB / 325.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.0399, allocations: 1.692 MB / 327.1 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.04447, allocations: 2.263 MB / 329.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.04682, allocations: 1.49 MB / 330.8 MB, free: 60 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007644/0.05446, allocations: 8.615 MB / 339.5 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.05847, allocations: 4.022 MB / 343.5 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006549/0.06502, allocations: 6.52 MB / 350 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.06887, allocations: 4.147 MB / 354.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.07003, allocations: 1.078 MB / 355.2 MB, free: 7.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.07179, allocations: 1.316 MB / 356.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.07317, allocations: 2.022 MB / 358.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.07573, allocations: 2.589 MB / 361.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005689/0.08142, allocations: 6.811 MB / 368 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.08143, allocations: 0 / 368 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08143, allocations: 0 / 368 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.168e-05/0.08152, allocations: 0 / 368 MB, free: 10.7 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.01142/0.09295, allocations: 10.27 MB / 378.2 MB, free: 328 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.09298, allocations: 8.922 kB / 378.3 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.09757, allocations: 2.287 MB / 380.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.1016, allocations: 2.872 MB / 383.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.1018, allocations: 0.518 MB / 383.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006147/0.1024, allocations: 0.6838 MB / 384.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/0.1078, allocations: 5.28 MB / 389.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.1079, allocations: 19.81 kB / 389.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.1083, allocations: 288 kB / 390.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.1085, allocations: 334.2 kB / 390.5 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.1117, allocations: 2.136 MB / 392.7 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.1315, allocations: 17.81 MB / 410.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.1362, allocations: 4.133 MB / 414.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.1384, allocations: 1.955 MB / 416.6 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006006/0.1445, allocations: 4.148 MB / 420.7 MB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.1445, allocations: 64.61 kB / 420.8 MB, free: 4.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 3.687e-06/0.1445, allocations: 0 / 420.8 MB, free: 4.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.009223/0.1537, allocations: 5.509 MB / 426.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1538, allocations: 81.5 kB / 426.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.1555, allocations: 2.147 MB / 428.5 MB, free: 13.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.1556, allocations: 73.7 kB / 428.6 MB, free: 12.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.1567, allocations: 2.707 MB / 431.3 MB, free: 10.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.1572, allocations: 0.941 MB / 432.2 MB, free: 9.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.1578, allocations: 0.5739 MB / 432.8 MB, free: 8.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1579, allocations: 301.1 kB / 433.1 MB, free: 8.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.1584, allocations: 403.4 kB / 433.5 MB, free: 7.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.1594, allocations: 1.434 MB / 434.9 MB, free: 6.074 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.1613, allocations: 2.147 MB / 437.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.1613, allocations: 12 kB / 437.1 MB, free: 3.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.002558/0.1639, allocations: 2.258 MB / 439.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.1639, allocations: 20 kB / 439.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.1639, allocations: 36.06 kB / 439.4 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.1647, allocations: 437.4 kB / 439.8 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1583/0.323, allocations: 0.893 MB / 440.7 MB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.3262, allocations: 6.48 MB / 447.2 MB, free: 87.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.328, allocations: 124.6 kB / 447.3 MB, free: 87.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.3281, allocations: 119.6 kB / 447.4 MB, free: 87.41 MB / 426.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.00113/0.3293, allocations: 334.9 kB / 447.8 MB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.3296, allocations: 288.7 kB / 448 MB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.3319, allocations: 2.023 MB / 450.1 MB, free: 87.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3319, allocations: 27.78 kB / 450.1 MB, free: 87.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.332, allocations: 14.73 kB / 450.1 MB, free: 87.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.332, allocations: 12.61 kB / 450.1 MB, free: 87.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.3376, allocations: 5.441 MB / 455.6 MB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3376, allocations: 6 kB / 455.6 MB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009492/0.3385, allocations: 438.9 kB / 456 MB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.3391, allocations: 397 kB / 456.4 MB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.3405, allocations: 0.8085 MB / 457.2 MB, free: 86.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.3406, allocations: 70.47 kB / 457.3 MB, free: 86.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006009/0.3466, allocations: 12.69 MB / 469.9 MB, free: 77.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3466, allocations: 3.906 kB / 469.9 MB, free: 77.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.3492, allocations: 2.591 MB / 472.5 MB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3495, allocations: 59.56 kB / 472.6 MB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.3502, allocations: 101.9 kB / 472.7 MB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.3505, allocations: 211 kB / 472.9 MB, free: 76.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.3506, allocations: 60.78 kB / 473 MB, free: 76.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008796/0.3515, allocations: 1.077 MB / 474 MB, free: 76.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3515, allocations: 0 / 474 MB, free: 76.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002224/0.3537, allocations: 1.154 MB / 475.2 MB, free: 76.65 MB / 426.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.0003099/0.354, allocations: 199.6 kB / 475.4 MB, free: 76.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3559, allocations: 2.126 MB / 477.5 MB, free: 75.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-05/0.356, allocations: 66.98 kB / 477.6 MB, free: 75.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3574, allocations: 1.994 MB / 479.6 MB, free: 75.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.3592, allocations: 1.095 MB / 480.7 MB, free: 74.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0395/0.3987, allocations: 10.75 MB / 491.4 MB, free: 67.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.3998, allocations: 1.359 MB / 492.8 MB, free: 66.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001447/0.4013, allocations: 491.7 kB / 493.3 MB, free: 65.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.4024, allocations: 0.8012 MB / 494.1 MB, free: 65.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4024, allocations: 0 / 494.1 MB, free: 65.07 MB / 426.7 MB Notification: Performance of Templates: time 0.05999/0.4624, allocations: 54.45 MB / 0.5357 GB, free: 12.1 MB / 426.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.130601925775409]