Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 213.6 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 376.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3148, allocations: 53.31 MB / 430.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.0386/0.3534, allocations: 34.47 MB / 464.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.3748, allocations: 8.801 MB / 473.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008321/0.3831, allocations: 251 kB / 473.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008112/0.3913, allocations: 2.29 MB / 476.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.4062, allocations: 3.063 MB / 479.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.4134, allocations: 1.971 MB / 481.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02279/0.4362, allocations: 15.93 MB / 497 MB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.4527, allocations: 9.77 MB / 0.4949 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01447/0.4672, allocations: 7.615 MB / 0.5023 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01793/0.4851, allocations: 9.157 MB / 0.5113 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006469/0.4916, allocations: 2.227 MB / 0.5135 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008477/0.5001, allocations: 2.449 MB / 0.5159 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009516/0.5096, allocations: 4.816 MB / 0.5206 GB, free: 400 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02278/0.5324, allocations: 8.91 MB / 0.5293 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5692/1.102, allocations: 28.78 MB / 0.5574 GB, free: 42.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.102, allocations: 3.656 kB / 0.5574 GB, free: 42.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/1.102, allocations: 0 / 0.5574 GB, free: 42.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001547/1.103, allocations: 0 / 0.5574 GB, free: 42.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.07689/1.18, allocations: 17.59 MB / 0.5745 GB, free: 34.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.18, allocations: 11.56 kB / 0.5746 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02486/1.205, allocations: 3.659 MB / 0.5781 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02778/1.233, allocations: 9.618 MB / 0.5875 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/1.234, allocations: 0.9867 MB / 0.5885 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007269/1.241, allocations: 1.311 MB / 0.5898 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06177/1.303, allocations: 19.48 MB / 0.6088 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006711/1.304, allocations: 23.47 kB / 0.6088 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005927/1.31, allocations: 0.5328 MB / 0.6093 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005045/1.31, allocations: 0.6322 MB / 0.6099 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04829/1.358, allocations: 17.2 MB / 0.6267 GB, free: 3.555 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1439/1.502, allocations: 59 MB / 0.6844 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04313/1.545, allocations: 33.76 MB / 0.7173 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/1.559, allocations: 6.417 MB / 0.7236 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04416/1.603, allocations: 19.32 MB / 0.7425 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/1.603, allocations: 99.27 kB / 0.7426 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=600): time 7.914e-06/1.603, allocations: 0 / 0.7426 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of matching and sorting (n=713): time 0.3471/1.95, allocations: 34.32 MB / 0.7761 GB, free: 202.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.95, allocations: 127 kB / 0.7762 GB, free: 202.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.961, allocations: 6.468 MB / 0.7825 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001845/1.963, allocations: 148.8 kB / 0.7827 GB, free: 199.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003355/1.966, allocations: 5.727 MB / 0.7882 GB, free: 195.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002815/1.969, allocations: 2.521 MB / 0.7907 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002346/1.971, allocations: 1.339 MB / 0.792 GB, free: 192.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.972, allocations: 305.1 kB / 0.7923 GB, free: 192.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005275/1.977, allocations: 4.016 MB / 0.7962 GB, free: 189.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007015/1.984, allocations: 5.839 MB / 0.8019 GB, free: 183.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.998, allocations: 10.59 MB / 0.8123 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.121e-05/1.998, allocations: 12 kB / 0.8123 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02527/2.023, allocations: 13.48 MB / 0.8254 GB, free: 161 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/2.023, allocations: 35.45 kB / 0.8255 GB, free: 161 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.856e-05/2.023, allocations: 59.66 kB / 0.8255 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007101/2.031, allocations: 3.117 MB / 0.8286 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/2.036, allocations: 1.392 MB / 0.8299 GB, free: 156.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05871/2.095, allocations: 48.27 MB / 0.8771 GB, free: 106 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007962/2.103, allocations: 311.7 kB / 0.8774 GB, free: 105.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/2.105, allocations: 316 kB / 0.8777 GB, free: 105.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 5 (idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 743 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 15 systems {(8,49,67.2%), (8,53,82.8%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,25,68.8%), (1,1,100.0%), (3,23,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (3,23,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0109/2.116, allocations: 4.494 MB / 0.8821 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00303/2.119, allocations: 0.7608 MB / 0.8828 GB, free: 100.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/2.139, allocations: 12.16 MB / 0.8947 GB, free: 87.86 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.388e-05/2.139, allocations: 68 kB / 0.8948 GB, free: 87.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001159/2.139, allocations: 40 kB / 0.8948 GB, free: 87.76 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/2.139, allocations: 31.88 kB / 0.8948 GB, free: 87.73 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05033/2.189, allocations: 27.27 MB / 0.9215 GB, free: 60.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/2.189, allocations: 4 kB / 0.9215 GB, free: 60.36 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004204/2.193, allocations: 0.8661 MB / 0.9223 GB, free: 59.49 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007855/2.201, allocations: 3.432 MB / 0.9257 GB, free: 56.03 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/2.203, allocations: 211.9 kB / 0.9259 GB, free: 55.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04442/2.247, allocations: 49.25 MB / 0.974 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/2.247, allocations: 11.94 kB / 0.974 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3533/2.6, allocations: 17.68 MB / 0.9912 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00595/2.606, allocations: 1.819 MB / 0.993 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003152/2.609, allocations: 181.8 kB / 0.9932 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006459/2.616, allocations: 301.4 kB / 0.9935 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002558/2.618, allocations: 0.5777 MB / 0.994 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009407/2.619, allocations: 199 kB / 0.9942 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009242/2.629, allocations: 4.423 MB / 0.9985 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2e-07/2.629, allocations: 0 / 0.9985 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0141/2.643, allocations: 2.673 MB / 1.001 GB, free: 183.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 426 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(8,52,78.1%), (8,48,67.2%), (6,51,86.1%), (1,1,100.0%), (3,22,100.0%), (1,9,100.0%), (1,1,100.0%), (3,22,100.0%), (1,9,100.0%), (1,1,100.0%), (3,23,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.001831/2.645, allocations: 346.3 kB / 1.001 GB, free: 183 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02134/2.666, allocations: 12.89 MB / 1.014 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/2.666, allocations: 0 / 1.014 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01444/2.68, allocations: 7.951 MB / 1.022 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/2.696, allocations: 1.993 MB / 1.024 GB, free: 171 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05895/2.755, allocations: 26.32 MB / 1.049 GB, free: 147 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/2.768, allocations: 8.125 MB / 1.057 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/2.771, allocations: 0.544 MB / 1.058 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.004e-06/2.771, allocations: 4 kB / 1.058 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of Templates: time 2.444/5.215, allocations: 1.232 GB / 2.289 GB, free: 19.02 MB / 0.6075 GB [Timeout remaining time 655] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1) [Timeout 480]