Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 194 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.6 MB / 244.7 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007169/0.0007169, allocations: 101.1 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002451, allocations: 12 kB / 356.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2452, allocations: 51.28 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.0229/0.2682, allocations: 30.25 MB / 438.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.287, allocations: 8.224 MB / 446.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007793/0.2949, allocations: 227.1 kB / 446.8 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006537/0.3015, allocations: 1.545 MB / 448.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.3124, allocations: 2.447 MB / 450.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.3184, allocations: 1.268 MB / 452 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02138/0.3398, allocations: 16.12 MB / 468.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01991/0.3597, allocations: 11.72 MB / 479.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00994/0.3697, allocations: 4.95 MB / 484.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.3815, allocations: 6.389 MB / 491.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004246/0.3858, allocations: 0.8594 MB / 492.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006773/0.3926, allocations: 1.078 MB / 493.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00602/0.3987, allocations: 3.145 MB / 496.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0141/0.4128, allocations: 6.862 MB / 0.4914 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3755/0.7884, allocations: 23.73 MB / 0.5145 GB, free: 30.02 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7884, allocations: 0 / 0.5145 GB, free: 30.02 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7884, allocations: 0 / 0.5145 GB, free: 30.02 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007755/0.7892, allocations: 0 / 0.5145 GB, free: 30.02 MB / 378.8 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.03801/0.8272, allocations: 14.39 MB / 0.5286 GB, free: 22.79 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8273, allocations: 11.53 kB / 0.5286 GB, free: 22.79 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/0.8484, allocations: 3.708 MB / 0.5322 GB, free: 21.32 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/0.8667, allocations: 9.077 MB / 0.5411 GB, free: 18.64 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009144/0.8676, allocations: 0.9833 MB / 0.542 GB, free: 18.62 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004956/0.8726, allocations: 1.306 MB / 0.5433 GB, free: 18.6 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04944/0.9221, allocations: 19.36 MB / 0.5622 GB, free: 7.633 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005671/0.9227, allocations: 18.94 kB / 0.5622 GB, free: 7.621 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004515/0.9272, allocations: 0.5348 MB / 0.5628 GB, free: 7.512 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005038/0.9277, allocations: 0.6343 MB / 0.5634 GB, free: 6.91 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03883/0.9665, allocations: 17.1 MB / 0.5801 GB, free: 6.191 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1181/1.085, allocations: 59.92 MB / 0.6386 GB, free: 10.47 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03397/1.119, allocations: 34.38 MB / 0.6722 GB, free: 5.969 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01149/1.13, allocations: 6.98 MB / 0.679 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2362/1.367, allocations: 19.34 MB / 0.6979 GB, free: 179.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/1.367, allocations: 106.3 kB / 0.698 GB, free: 179.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=600): time 7.975e-06/1.367, allocations: 0 / 0.698 GB, free: 179.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=713): time 0.07395/1.441, allocations: 34.33 MB / 0.7315 GB, free: 167.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.441, allocations: 127.5 kB / 0.7316 GB, free: 167.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009728/1.45, allocations: 6.394 MB / 0.7379 GB, free: 162.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/1.452, allocations: 145.7 kB / 0.738 GB, free: 162.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.455, allocations: 5.546 MB / 0.7434 GB, free: 157.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002452/1.457, allocations: 2.407 MB / 0.7458 GB, free: 155.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/1.458, allocations: 156.7 kB / 0.7459 GB, free: 155.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003229/1.458, allocations: 0.6075 MB / 0.7465 GB, free: 154.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005635/1.464, allocations: 3.989 MB / 0.7504 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006479/1.47, allocations: 5.826 MB / 0.7561 GB, free: 144.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.484, allocations: 10.55 MB / 0.7664 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/1.484, allocations: 12 kB / 0.7664 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02379/1.508, allocations: 13.47 MB / 0.7796 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/1.508, allocations: 28 kB / 0.7796 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.034e-05/1.508, allocations: 48 kB / 0.7796 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/1.515, allocations: 3.114 MB / 0.7827 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/1.52, allocations: 1.385 MB / 0.784 GB, free: 115 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0397/1.56, allocations: 44.73 MB / 0.8277 GB, free: 68.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007127/1.567, allocations: 319.7 kB / 0.828 GB, free: 68 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.569, allocations: 308 kB / 0.8283 GB, free: 67.7 MB / 0.4949 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[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 initialization (761): * Single equations (assignments): 743 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(8,67.2%) 49,(8,78.1%) 53,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009449/1.578, allocations: 4.483 MB / 0.8327 GB, free: 63.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.58, allocations: 0.7218 MB / 0.8334 GB, free: 62.47 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.6, allocations: 12.27 MB / 0.8454 GB, free: 50.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.138e-05/1.6, allocations: 68 kB / 0.8454 GB, free: 50.02 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001119/1.6, allocations: 43.66 kB / 0.8455 GB, free: 49.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/1.6, allocations: 35.86 kB / 0.8455 GB, free: 49.95 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0538/1.654, allocations: 27.41 MB / 0.8723 GB, free: 22.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/1.654, allocations: 8 kB / 0.8723 GB, free: 22.41 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003873/1.658, allocations: 0.866 MB / 0.8731 GB, free: 21.54 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007671/1.666, allocations: 3.406 MB / 0.8765 GB, free: 18.1 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/1.667, allocations: 207.9 kB / 0.8767 GB, free: 17.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2791/1.946, allocations: 45.51 MB / 0.9211 GB, free: 148.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/1.946, allocations: 9.812 kB / 0.9211 GB, free: 148.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/1.973, allocations: 17.7 MB / 0.9384 GB, free: 140.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004561/1.977, allocations: 1.78 MB / 0.9401 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/1.979, allocations: 174.6 kB / 0.9403 GB, free: 140 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/1.983, allocations: 328.3 kB / 0.9406 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/1.984, allocations: 0.5693 MB / 0.9412 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/1.985, allocations: 193.7 kB / 0.9414 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006459/1.991, allocations: 4.369 MB / 0.9456 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.4e-07/1.991, allocations: 0 / 0.9456 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0106/2.002, allocations: 2.679 MB / 0.9482 GB, free: 133.7 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(8,78.1%) 52,(8,67.2%) 48,(6,86.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/2.003, allocations: 352.5 kB / 0.9486 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0179/2.021, allocations: 13.21 MB / 0.9615 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.021, allocations: 0 / 0.9615 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/2.034, allocations: 8.279 MB / 0.9696 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/2.05, allocations: 1.897 MB / 0.9714 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04667/2.097, allocations: 30.75 MB / 1.001 GB, free: 82.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/2.108, allocations: 8.116 MB / 1.009 GB, free: 74.05 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/2.11, allocations: 0.5111 MB / 1.01 GB, free: 73.54 MB / 0.4949 GB Notification: Performance of SimCode: time 1.082e-06/2.11, allocations: 0 / 1.01 GB, free: 73.54 MB / 0.4949 GB Notification: Performance of Templates: time 2.482/4.592, allocations: 1.224 GB / 2.234 GB, free: 160.1 MB / 0.5262 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage --alarm=480 > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)