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.001508/0.001508, allocations: 88.28 kB / 21.44 MB, free: 3.109 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.001801/0.001801, allocations: 154.9 kB / 24.7 MB, free: 9.438 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.9937/0.9937, allocations: 177 MB / 204.9 MB, free: 5.723 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.2694/0.2694, allocations: 34.86 MB / 296.2 MB, free: 0.5195 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.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.783e-06/1.783e-06, allocations: 0 / 443.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.641e-05, allocations: 2.281 kB / 443.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.1931/0.1931, allocations: 23.44 MB / 467.1 MB, free: 28.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.2045, allocations: 7.268 MB / 474.4 MB, free: 23.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.2087, allocations: 220.2 kB / 474.6 MB, free: 23.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004109/0.2128, allocations: 1.792 MB / 476.4 MB, free: 22.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.2191, allocations: 2.518 MB / 478.9 MB, free: 21.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.2221, allocations: 1.549 MB / 480.5 MB, free: 20.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007516/0.2296, allocations: 9.194 MB / 489.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/0.2342, allocations: 3.997 MB / 493.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008275/0.2424, allocations: 6.175 MB / 499.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.2489, allocations: 3.958 MB / 0.492 GB, free: 8.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002558/0.2515, allocations: 1.133 MB / 0.4931 GB, free: 8.523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.2553, allocations: 1.355 MB / 0.4944 GB, free: 8.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.2573, allocations: 2.609 MB / 0.497 GB, free: 6.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007167/0.2645, allocations: 3.251 MB / 0.5002 GB, free: 5.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.2812, allocations: 15.06 MB / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2812, allocations: 1.375 kB / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2812, allocations: 4 kB / 0.5149 GB, free: 12.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004314/0.2816, allocations: 0 / 0.5149 GB, free: 12.25 MB / 426.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.02108/0.3027, allocations: 9.452 MB / 0.5241 GB, free: 2.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3027, allocations: 8.031 kB / 0.5241 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.3082, allocations: 1.764 MB / 0.5258 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.3169, allocations: 5.081 MB / 0.5308 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.3172, allocations: 0.5341 MB / 0.5313 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.3187, allocations: 0.7112 MB / 0.532 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.3345, allocations: 10.1 MB / 0.5419 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.3347, allocations: 15.83 kB / 0.5419 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005964/0.3353, allocations: 296 kB / 0.5422 GB, free: 0 / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/0.3355, allocations: 354.6 kB / 0.5425 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3485, allocations: 8.31 MB / 0.5506 GB, free: 7.332 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.3857, allocations: 25.88 MB / 0.5759 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007755/0.3935, allocations: 6.419 MB / 0.5822 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/0.3977, allocations: 3.519 MB / 0.5856 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.4085, allocations: 7.579 MB / 0.593 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.4086, allocations: 68.72 kB / 0.5931 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=281): time 5.1e-06/0.4086, allocations: 0 / 0.5931 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=289): time 0.0173/0.4259, allocations: 11.66 MB / 0.6045 GB, free: 104 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4259, allocations: 81.69 kB / 0.6045 GB, free: 8 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/0.4305, allocations: 3.373 MB / 0.6078 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.4307, allocations: 73.7 kB / 0.6079 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.4323, allocations: 3.384 MB / 0.6112 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.433, allocations: 1.038 MB / 0.6122 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007273/0.4338, allocations: 0.6493 MB / 0.6128 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.4338, allocations: 305.1 kB / 0.6131 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.4357, allocations: 1.538 MB / 0.6146 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.4379, allocations: 2.736 MB / 0.6173 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.4421, allocations: 4.502 MB / 0.6217 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/0.4422, allocations: 15.94 kB / 0.6217 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006132/0.4483, allocations: 5.241 MB / 0.6268 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.4483, allocations: 24.69 kB / 0.6269 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/0.4484, allocations: 36 kB / 0.6269 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008947/0.4493, allocations: 0.5723 MB / 0.6275 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.451, allocations: 0.858 MB / 0.6283 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2175/0.6684, allocations: 8.834 MB / 0.6369 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.6713, allocations: 181.9 kB / 0.6371 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.6715, allocations: 165.7 kB / 0.6373 GB, free: 139.5 MB / 0.5261 GB 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.00354/0.6751, allocations: 2.15 MB / 0.6394 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007809/0.6759, allocations: 400.3 kB / 0.6397 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.6812, allocations: 4.566 MB / 0.6442 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6812, allocations: 29.69 kB / 0.6442 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.6812, allocations: 13.84 kB / 0.6442 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.6812, allocations: 16.02 kB / 0.6443 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.6922, allocations: 9.258 MB / 0.6533 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.6922, allocations: 7.156 kB / 0.6533 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6932, allocations: 443.2 kB / 0.6537 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.6947, allocations: 1.038 MB / 0.6547 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.6949, allocations: 86.52 kB / 0.6548 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.7051, allocations: 17.81 MB / 0.6722 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7051, allocations: 10.5 kB / 0.6722 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007756/0.7129, allocations: 6.637 MB / 0.6787 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/0.7146, allocations: 0.728 MB / 0.6794 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.7149, allocations: 71.22 kB / 0.6795 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.7159, allocations: 139.2 kB / 0.6796 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.7163, allocations: 232.2 kB / 0.6798 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.7165, allocations: 85.92 kB / 0.6799 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002713/0.7192, allocations: 2.23 MB / 0.6821 GB, free: 116 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7192, allocations: 0 / 0.6821 GB, free: 116 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003761/0.723, allocations: 1.233 MB / 0.6833 GB, free: 115.9 MB / 0.5261 GB 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.0004539/0.7234, allocations: 237.3 kB / 0.6835 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004986/0.7284, allocations: 4.214 MB / 0.6876 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7284, allocations: 3.156 kB / 0.6876 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.7314, allocations: 2.928 MB / 0.6905 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.7347, allocations: 0.967 MB / 0.6915 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.7518, allocations: 12.58 MB / 0.7037 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003353/0.7552, allocations: 3.826 MB / 0.7075 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.7563, allocations: 306.8 kB / 0.7078 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/0.7563, allocations: 0 / 0.7078 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.3692/1.126, allocations: 326.6 MB / 1.027 GB, free: 27.92 MB / 0.5573 GB " [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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.777954030781984]