Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_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.0008818/0.0008818, allocations: 81.81 kB / 21.43 MB, free: 3.066 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.0009328/0.0009328, allocations: 164.1 kB / 24.82 MB, free: 9.211 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.9516/0.9516, allocations: 177 MB / 205.1 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.2358/0.2358, allocations: 34.86 MB / 296.6 MB, free: 472 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.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 379.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.469e-05, allocations: 5.266 kB / 379.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02136/0.02138, allocations: 25.78 MB / 405.1 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.03093, allocations: 7.441 MB / 412.6 MB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.03279, allocations: 218.7 kB / 412.8 MB, free: 108 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.03523, allocations: 1.785 MB / 414.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.03856, allocations: 2.534 MB / 417.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.04038, allocations: 1.546 MB / 418.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005763/0.04614, allocations: 9.188 MB / 427.8 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.04962, allocations: 4.034 MB / 431.9 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.05506, allocations: 6.43 MB / 438.3 MB, free: 6.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.05858, allocations: 4.326 MB / 442.6 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009759/0.05955, allocations: 1.121 MB / 443.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1353/0.1948, allocations: 1.346 MB / 445.1 MB, free: 60.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.1974, allocations: 2.61 MB / 447.7 MB, free: 60.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003908/0.2013, allocations: 3.262 MB / 451 MB, free: 60.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.2065, allocations: 7.509 MB / 458.5 MB, free: 59.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2065, allocations: 0 / 458.5 MB, free: 59.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2065, allocations: 0 / 458.5 MB, free: 59.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.553e-05/0.2066, allocations: 3.469 kB / 458.5 MB, free: 59.46 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.009354/0.2159, allocations: 9.657 MB / 468.1 MB, free: 56.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.216, allocations: 9.688 kB / 468.2 MB, free: 56.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.2206, allocations: 2.533 MB / 470.7 MB, free: 55.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.2245, allocations: 4.684 MB / 475.4 MB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.2247, allocations: 0.5364 MB / 475.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005864/0.2253, allocations: 0.7161 MB / 476.6 MB, free: 52.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.2305, allocations: 5.387 MB / 482 MB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-05/0.2306, allocations: 14.2 kB / 482 MB, free: 50.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.231, allocations: 303.9 kB / 482.3 MB, free: 50.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.2312, allocations: 350.3 kB / 482.7 MB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.2344, allocations: 2.207 MB / 484.9 MB, free: 50.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.2544, allocations: 24.08 MB / 0.497 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004536/0.259, allocations: 4.866 MB / 0.5018 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.261, allocations: 2.119 MB / 0.5038 GB, free: 35.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005856/0.2669, allocations: 5.442 MB / 0.5091 GB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2669, allocations: 70.27 kB / 0.5092 GB, free: 32.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 3.346e-06/0.2669, allocations: 0 / 0.5092 GB, free: 32.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.008702/0.2756, allocations: 6.407 MB / 0.5155 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2757, allocations: 85.69 kB / 0.5156 GB, free: 29.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.2775, allocations: 2.846 MB / 0.5183 GB, free: 27.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2777, allocations: 77.7 kB / 0.5184 GB, free: 27.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.2787, allocations: 3.549 MB / 0.5219 GB, free: 24.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.2791, allocations: 1.073 MB / 0.5229 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005801/0.2797, allocations: 0.7046 MB / 0.5236 GB, free: 22.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.2797, allocations: 476.8 kB / 0.5241 GB, free: 22.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.2802, allocations: 429.9 kB / 0.5245 GB, free: 21.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/0.2811, allocations: 2.135 MB / 0.5266 GB, free: 19.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.2827, allocations: 2.837 MB / 0.5293 GB, free: 15.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.2827, allocations: 12 kB / 0.5293 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.002642/0.2854, allocations: 3.054 MB / 0.5323 GB, free: 13.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2854, allocations: 20.09 kB / 0.5323 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.2854, allocations: 40 kB / 0.5324 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.2861, allocations: 462.8 kB / 0.5328 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.2875, allocations: 0.8115 MB / 0.5336 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.2904, allocations: 8.877 MB / 0.5423 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/0.2914, allocations: 132.1 kB / 0.5424 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.2916, allocations: 132 kB / 0.5425 GB, free: 2.316 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * 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.0009343/0.2925, allocations: 403.1 kB / 0.5429 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.2928, allocations: 489.5 kB / 0.5434 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.2956, allocations: 2.547 MB / 0.5459 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2956, allocations: 28 kB / 0.5459 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.2956, allocations: 15.98 kB / 0.5459 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.2956, allocations: 11.95 kB / 0.5459 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007893/0.3035, allocations: 7.387 MB / 0.5531 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3035, allocations: 4 kB / 0.5531 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.3044, allocations: 406.7 kB / 0.5535 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.3058, allocations: 0.8678 MB / 0.5544 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.306, allocations: 83.89 kB / 0.5545 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.3152, allocations: 17.22 MB / 0.5713 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3152, allocations: 7.375 kB / 0.5713 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.3188, allocations: 3.354 MB / 0.5746 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/0.3196, allocations: 0.6495 MB / 0.5752 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.3198, allocations: 64 kB / 0.5753 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.3206, allocations: 104 kB / 0.5754 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.3209, allocations: 237.4 kB / 0.5756 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.321, allocations: 67.97 kB / 0.5756 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.3222, allocations: 1.462 MB / 0.5771 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3222, allocations: 4 kB / 0.5771 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002573/0.3247, allocations: 1.23 MB / 0.5783 GB, free: 14.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (217): * Single equations (assignments): 210 * 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,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.325, allocations: 225 kB / 0.5785 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.3274, allocations: 2.671 MB / 0.5811 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3274, allocations: 0 / 0.5811 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.3293, allocations: 2.56 MB / 0.5836 GB, free: 8.648 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.3317, allocations: 0.9989 MB / 0.5846 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.3438, allocations: 11.13 MB / 0.5954 GB, free: 12.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.3453, allocations: 1.725 MB / 0.5971 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.3466, allocations: 0.5444 MB / 0.5977 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.3484, allocations: 1.025 MB / 0.5987 GB, free: 9.086 MB / 474.7 MB Notification: Performance of SimCode: time 9.91e-07/0.3484, allocations: 0 / 0.5987 GB, free: 9.086 MB / 474.7 MB Notification: Performance of Templates: time 0.1947/0.5431, allocations: 58.16 MB / 0.6555 GB, free: 103.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.464108488988131]