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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=30000,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=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008612/0.0008612, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 11.12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002183, allocations: 8 kB / 308.4 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1006, allocations: 51.53 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.225/0.3256, allocations: 32.51 MB / 392.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.3452, allocations: 8.567 MB / 401 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008928/0.3542, allocations: 229.4 kB / 401.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007491/0.3617, allocations: 1.882 MB / 403.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.3772, allocations: 2.655 MB / 405.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00774/0.385, allocations: 1.76 MB / 407.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02385/0.4088, allocations: 16.91 MB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02027/0.4291, allocations: 11.68 MB / 436.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009445/0.4386, allocations: 5.038 MB / 441.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.4519, allocations: 6.631 MB / 447.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004317/0.4563, allocations: 0.8594 MB / 448.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006404/0.4627, allocations: 1.09 MB / 449.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005594/0.4683, allocations: 3.179 MB / 452.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01476/0.4831, allocations: 7.166 MB / 460.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02586/0.509, allocations: 23.74 MB / 483.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.509, allocations: 0 / 483.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.509, allocations: 0 / 483.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008131/0.5098, allocations: 0 / 483.8 MB, free: 15.66 MB / 398.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.04393/0.5538, allocations: 14.41 MB / 498.2 MB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5538, allocations: 8.031 kB / 498.2 MB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02221/0.5761, allocations: 3.715 MB / 0.4902 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/0.5963, allocations: 9.102 MB / 0.4991 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/0.5976, allocations: 0.98 MB / 0.5 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/0.6023, allocations: 1.32 MB / 0.5013 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04852/0.6509, allocations: 19.46 MB / 0.5203 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006925/0.6516, allocations: 11.91 kB / 0.5203 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003784/0.6554, allocations: 0.5351 MB / 0.5209 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000677/0.6561, allocations: 0.6283 MB / 0.5215 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2472/0.9033, allocations: 17.21 MB / 0.5383 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.004, allocations: 59.91 MB / 0.5968 GB, free: 83.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02954/1.033, allocations: 34.42 MB / 0.6304 GB, free: 47.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/1.044, allocations: 6.987 MB / 0.6372 GB, free: 40.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03057/1.075, allocations: 19.33 MB / 0.6561 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/1.075, allocations: 99.77 kB / 0.6562 GB, free: 21.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 7.424e-06/1.075, allocations: 0 / 0.6562 GB, free: 21.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.07675/1.152, allocations: 34.43 MB / 0.6898 GB, free: 2.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.152, allocations: 121 kB / 0.6899 GB, free: 2.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/1.165, allocations: 6.466 MB / 0.6963 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.166, allocations: 149.7 kB / 0.6964 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004138/1.171, allocations: 5.567 MB / 0.7018 GB, free: 6.195 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002808/1.173, allocations: 2.398 MB / 0.7042 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/1.175, allocations: 0.6086 MB / 0.7048 GB, free: 3.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/1.175, allocations: 301.1 kB / 0.7051 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007298/1.182, allocations: 4.026 MB / 0.709 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008163/1.191, allocations: 5.854 MB / 0.7147 GB, free: 8.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2744/1.465, allocations: 10.59 MB / 0.7251 GB, free: 155.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/1.465, allocations: 15.03 kB / 0.7251 GB, free: 155.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02703/1.492, allocations: 13.54 MB / 0.7383 GB, free: 151.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/1.492, allocations: 34.55 kB / 0.7383 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.492, allocations: 51.73 kB / 0.7384 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007532/1.5, allocations: 3.124 MB / 0.7414 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.506, allocations: 1.387 MB / 0.7428 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0437/1.549, allocations: 44.78 MB / 0.7865 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/1.556, allocations: 330.4 kB / 0.7868 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.558, allocations: 310.5 kB / 0.7871 GB, free: 117.5 MB / 494.1 MB 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.01124/1.569, allocations: 4.492 MB / 0.7915 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00311/1.572, allocations: 0.725 MB / 0.7922 GB, free: 114.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/1.592, allocations: 12.32 MB / 0.8042 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/1.592, allocations: 71.52 kB / 0.8043 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-05/1.592, allocations: 44 kB / 0.8044 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.99e-05/1.593, allocations: 31.27 kB / 0.8044 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/1.633, allocations: 27.45 MB / 0.8312 GB, free: 77.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/1.633, allocations: 4 kB / 0.8312 GB, free: 77.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/1.637, allocations: 0.8706 MB / 0.832 GB, free: 76.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007637/1.644, allocations: 3.427 MB / 0.8354 GB, free: 72.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/1.646, allocations: 205.2 kB / 0.8356 GB, free: 72.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04659/1.692, allocations: 45.58 MB / 0.8801 GB, free: 25.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.692, allocations: 8.562 kB / 0.8801 GB, free: 25.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/1.721, allocations: 17.76 MB / 0.8975 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0052/1.726, allocations: 1.785 MB / 0.8992 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/1.728, allocations: 180 kB / 0.8994 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005037/1.733, allocations: 319.8 kB / 0.8997 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001778/1.735, allocations: 0.5731 MB / 0.9002 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007939/1.736, allocations: 188 kB / 0.9004 GB, free: 4.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2652/2.001, allocations: 4.428 MB / 0.9047 GB, free: 144.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.92e-07/2.001, allocations: 0 / 0.9047 GB, free: 144.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01523/2.016, allocations: 2.679 MB / 0.9074 GB, free: 144.1 MB / 494.1 MB 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.001635/2.018, allocations: 353.6 kB / 0.9077 GB, free: 144 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02391/2.042, allocations: 13.26 MB / 0.9206 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/2.042, allocations: 3.438 kB / 0.9206 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01646/2.058, allocations: 8.301 MB / 0.9287 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/2.074, allocations: 1.894 MB / 0.9306 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/2.125, allocations: 32.14 MB / 0.962 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009706/2.135, allocations: 8.128 MB / 0.9699 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/2.138, allocations: 0.5092 MB / 0.9704 GB, free: 111.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.694e-06/2.138, allocations: 4 kB / 0.9704 GB, free: 111.1 MB / 494.1 MB Notification: Performance of Templates: time 2.645/4.783, allocations: 1.226 GB / 2.196 GB, free: 18.62 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (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)