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_Polyphase.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_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.001921, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 50.54 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.02594/0.2616, allocations: 25.38 MB / 435.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.2749, allocations: 6.936 MB / 442.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.2787, allocations: 171.4 kB / 442.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004439/0.2832, allocations: 1.647 MB / 444.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.2899, allocations: 2.263 MB / 446.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.2938, allocations: 1.484 MB / 447.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.3045, allocations: 10.05 MB / 457.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.3165, allocations: 9.052 MB / 467 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/0.323, allocations: 4.747 MB / 471.7 MB, free: 3.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007846/0.3308, allocations: 5.656 MB / 477.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002725/0.3336, allocations: 1.305 MB / 478.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.3374, allocations: 1.531 MB / 480.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.3403, allocations: 2.957 MB / 483.2 MB, free: 8.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006061/0.3464, allocations: 5.481 MB / 488.6 MB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.3608, allocations: 17.2 MB / 0.494 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3608, allocations: 0 / 0.494 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3609, allocations: 0 / 0.494 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002773/0.3611, allocations: 0 / 0.494 GB, free: 1.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02649/0.3876, allocations: 10.73 MB / 0.5045 GB, free: 6.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.3877, allocations: 8.031 kB / 0.5045 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.3988, allocations: 2.121 MB / 0.5065 GB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.4104, allocations: 6.009 MB / 0.5124 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.4108, allocations: 0.5943 MB / 0.513 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.4121, allocations: 0.7926 MB / 0.5138 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.43, allocations: 11.33 MB / 0.5248 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.4302, allocations: 15.84 kB / 0.5248 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007376/0.4309, allocations: 328 kB / 0.5252 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002968/0.4312, allocations: 376.3 kB / 0.5255 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.4487, allocations: 9.906 MB / 0.5352 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3928/0.8415, allocations: 34.23 MB / 0.5686 GB, free: 96.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.8559, allocations: 21.08 MB / 0.5892 GB, free: 76.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006301/0.8622, allocations: 4.428 MB / 0.5935 GB, free: 72.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.8761, allocations: 10.61 MB / 0.6039 GB, free: 61.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.8762, allocations: 73.02 kB / 0.604 GB, free: 61.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=319): time 4.839e-06/0.8762, allocations: 4 kB / 0.604 GB, free: 61.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=325): time 0.02746/0.9036, allocations: 15.77 MB / 0.6194 GB, free: 45.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.9037, allocations: 85.97 kB / 0.6194 GB, free: 45.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/0.9087, allocations: 4.583 MB / 0.6239 GB, free: 40.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.9089, allocations: 81.7 kB / 0.624 GB, free: 40.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.9103, allocations: 3.604 MB / 0.6275 GB, free: 36.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006203/0.9109, allocations: 1.093 MB / 0.6286 GB, free: 35.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009448/0.9119, allocations: 0.7004 MB / 0.6293 GB, free: 35.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.912, allocations: 305.1 kB / 0.6296 GB, free: 34.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.9144, allocations: 1.885 MB / 0.6314 GB, free: 33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.9171, allocations: 2.99 MB / 0.6343 GB, free: 29.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/0.9224, allocations: 5.099 MB / 0.6393 GB, free: 23.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.9225, allocations: 8 kB / 0.6393 GB, free: 23.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008631/0.9311, allocations: 6.423 MB / 0.6456 GB, free: 17.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.9311, allocations: 20 kB / 0.6456 GB, free: 17.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.9312, allocations: 32.81 kB / 0.6456 GB, free: 17.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.9334, allocations: 1.025 MB / 0.6466 GB, free: 16.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.9362, allocations: 0.8073 MB / 0.6474 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.9505, allocations: 17.89 MB / 0.6649 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.954, allocations: 176 kB / 0.6651 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.9544, allocations: 168 kB / 0.6652 GB, free: 12.35 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],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 (434): * Single equations (assignments): 425 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * 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): 7 systems {(1,8,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,24,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0041/0.9585, allocations: 2.616 MB / 0.6678 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/0.9594, allocations: 474.2 kB / 0.6682 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9695, allocations: 6 MB / 0.6741 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.9695, allocations: 15.94 kB / 0.6741 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.9695, allocations: 0 / 0.6741 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/0.972, allocations: 0.9755 MB / 0.6751 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009396/0.9729, allocations: 83.92 kB / 0.6751 GB, free: 2.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/0.9752, allocations: 155.9 kB / 0.6753 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/0.9759, allocations: 369.9 kB / 0.6756 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01158/0.9875, allocations: 5.925 MB / 0.6814 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009776/0.9973, allocations: 6.59 MB / 0.6879 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002739/1, allocations: 1.987 MB / 0.6898 GB, free: 2.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005941/1.006, allocations: 3.14 MB / 0.6929 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of Backend: time 5.61e-07/1.006, allocations: 0 / 0.6929 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.009696/1.016, allocations: 4.5 MB / 0.6973 GB, free: 11.17 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02832/1.044, allocations: 15.58 MB / 0.7125 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of Templates: time 0.3135/1.358, allocations: 80.32 MB / 0.7909 GB, free: 144.4 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1)