Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_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.00242/0.00242, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.003009/0.003009, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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 1.625/1.625, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] 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.3413/0.3413, allocations: 34.86 MB / 295.4 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.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 443.7 MB, free: 340 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.724e-05, allocations: 4.812 kB / 443.7 MB, free: 336 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2074/0.2074, allocations: 26.47 MB / 470.1 MB, free: 26.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.2215, allocations: 8.28 MB / 478.4 MB, free: 20.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004795/0.2263, allocations: 239.8 kB / 478.6 MB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.2313, allocations: 1.984 MB / 480.6 MB, free: 19.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.2399, allocations: 2.838 MB / 483.5 MB, free: 17.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.2447, allocations: 1.802 MB / 485.3 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.256, allocations: 10.82 MB / 496.1 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007666/0.2637, allocations: 4.947 MB / 0.4893 GB, free: 8.332 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.2758, allocations: 7.274 MB / 0.4964 GB, free: 4.762 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009819/0.2856, allocations: 4.693 MB / 0.501 GB, free: 2.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003921/0.2895, allocations: 1.361 MB / 0.5023 GB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006243/0.2958, allocations: 1.704 MB / 0.504 GB, free: 2.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.2993, allocations: 3.101 MB / 0.507 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.3095, allocations: 3.867 MB / 0.5108 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02763/0.3372, allocations: 17.8 MB / 0.5282 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3372, allocations: 0 / 0.5282 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3372, allocations: 0 / 0.5282 GB, free: 13.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004622/0.3376, allocations: 0 / 0.5282 GB, free: 13.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03321/0.3708, allocations: 11.1 MB / 0.539 GB, free: 2.754 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3709, allocations: 12.03 kB / 0.539 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.3837, allocations: 2.157 MB / 0.5411 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.3997, allocations: 6.193 MB / 0.5472 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000808/0.4005, allocations: 0.6347 MB / 0.5478 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/0.4034, allocations: 0.8518 MB / 0.5486 GB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02841/0.4319, allocations: 11.81 MB / 0.5602 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.432, allocations: 7.938 kB / 0.5602 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009924/0.433, allocations: 360 kB / 0.5605 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004505/0.4335, allocations: 381.5 kB / 0.5609 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/0.4564, allocations: 9.661 MB / 0.5703 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07223/0.5287, allocations: 30.37 MB / 0.6 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.5446, allocations: 6.795 MB / 0.6066 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/0.5547, allocations: 3.958 MB / 0.6105 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02188/0.5766, allocations: 8.565 MB / 0.6188 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/0.5767, allocations: 68.98 kB / 0.6189 GB, free: 484 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=310): time 6.041e-06/0.5767, allocations: 0 / 0.6189 GB, free: 484 kB / 0.5105 GB Notification: Performance of matching and sorting (n=362): time 0.0411/0.6178, allocations: 15.39 MB / 0.6339 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.6179, allocations: 98.11 kB / 0.634 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.365/0.9829, allocations: 3.999 MB / 0.6379 GB, free: 137.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005792/0.9835, allocations: 90.7 kB / 0.638 GB, free: 137.9 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.9857, allocations: 4.027 MB / 0.6419 GB, free: 136.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.9868, allocations: 1.277 MB / 0.6432 GB, free: 135.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.9882, allocations: 0.7855 MB / 0.644 GB, free: 135.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.9883, allocations: 303.9 kB / 0.6442 GB, free: 134.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/0.9923, allocations: 1.961 MB / 0.6462 GB, free: 134 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/0.9969, allocations: 3.461 MB / 0.6495 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009293/1.006, allocations: 5.733 MB / 0.6551 GB, free: 127.7 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.254e-05/1.006, allocations: 18.28 kB / 0.6552 GB, free: 127.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01396/1.02, allocations: 6.712 MB / 0.6617 GB, free: 124.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/1.02, allocations: 25.25 kB / 0.6617 GB, free: 124.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-05/1.02, allocations: 48.16 kB / 0.6618 GB, free: 124.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/1.022, allocations: 0.894 MB / 0.6627 GB, free: 124.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/1.026, allocations: 1.043 MB / 0.6637 GB, free: 124.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.037, allocations: 11.79 MB / 0.6752 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.04, allocations: 238.5 kB / 0.6754 GB, free: 115.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/1.041, allocations: 208.9 kB / 0.6756 GB, free: 115.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * 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 {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003974/1.045, allocations: 2.541 MB / 0.6781 GB, free: 114.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009485/1.046, allocations: 479.8 kB / 0.6785 GB, free: 114.2 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008972/1.055, allocations: 5.513 MB / 0.6839 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.055, allocations: 39.66 kB / 0.684 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/1.055, allocations: 17.28 kB / 0.684 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/1.055, allocations: 16.41 kB / 0.684 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.074, allocations: 11.19 MB / 0.6949 GB, free: 107 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.074, allocations: 4.828 kB / 0.6949 GB, free: 107 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/1.077, allocations: 0.6037 MB / 0.6955 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.08, allocations: 1.077 MB / 0.6966 GB, free: 106.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/1.08, allocations: 90.34 kB / 0.6967 GB, free: 106.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/1.095, allocations: 15.67 MB / 0.712 GB, free: 95.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.095, allocations: 11.89 kB / 0.712 GB, free: 95.25 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.107, allocations: 8.144 MB / 0.7199 GB, free: 91.53 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.109, allocations: 0.8813 MB / 0.7208 GB, free: 91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007348/1.11, allocations: 73.75 kB / 0.7209 GB, free: 90.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.112, allocations: 184.4 kB / 0.721 GB, free: 90.89 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/1.113, allocations: 295.3 kB / 0.7213 GB, free: 90.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.113, allocations: 108.3 kB / 0.7214 GB, free: 90.71 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.00339/1.116, allocations: 2.636 MB / 0.724 GB, free: 88.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/1.116, allocations: 0 / 0.724 GB, free: 88.5 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005043/1.121, allocations: 1.474 MB / 0.7254 GB, free: 87.03 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.Phi.im) * 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 (281): * Single equations (assignments): 274 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006589/1.122, allocations: 250 kB / 0.7257 GB, free: 86.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.007961/1.13, allocations: 5.409 MB / 0.731 GB, free: 81.96 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.13, allocations: 4.062 kB / 0.731 GB, free: 81.95 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004833/1.135, allocations: 3.285 MB / 0.7342 GB, free: 78.99 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.139, allocations: 0.9272 MB / 0.7351 GB, free: 78.22 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.161, allocations: 14.86 MB / 0.7496 GB, free: 64.53 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/1.164, allocations: 4.649 MB / 0.7541 GB, free: 60.71 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.002976/1.167, allocations: 1.01 MB / 0.7551 GB, free: 59.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/1.168, allocations: 320.4 kB / 0.7554 GB, free: 59.39 MB / 0.5262 GB Notification: Performance of SimCode: time 1.102e-06/1.168, allocations: 0 / 0.7554 GB, free: 59.39 MB / 0.5262 GB Notification: Performance of Templates: time 0.08886/1.257, allocations: 57.48 MB / 0.8115 GB, free: 2.461 MB / 0.5262 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.184607322094962]