Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007/0.007, allocations: 99.64 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 189.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.72 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08517, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02062/0.1058, allocations: 19.47 MB / 392.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1163, allocations: 5.698 MB / 398.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.1193, allocations: 103.6 kB / 398.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.1229, allocations: 1.296 MB / 399.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006171/0.1291, allocations: 1.891 MB / 401.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.1322, allocations: 1.181 MB / 402.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008658/0.1409, allocations: 6.433 MB / 409.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007321/0.1483, allocations: 5.325 MB / 414.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.1534, allocations: 2.979 MB / 417.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006932/0.1604, allocations: 3.472 MB / 421 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002476/0.1629, allocations: 0.8047 MB / 421.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.1668, allocations: 1.074 MB / 422.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002231/0.169, allocations: 1.975 MB / 424.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004099/0.1731, allocations: 3.435 MB / 428.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009709/0.1828, allocations: 10.61 MB / 438.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1829, allocations: 4 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1829, allocations: 0 / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002198/0.1831, allocations: 4 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01519/0.1983, allocations: 6.691 MB / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1984, allocations: 8.031 kB / 445.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.2032, allocations: 1.079 MB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.2099, allocations: 3.467 MB / 450.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.2102, allocations: 386.7 kB / 450.6 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009107/0.2111, allocations: 0.5078 MB / 451.1 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2022/0.4133, allocations: 6.944 MB / 458 MB, free: 62.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4135, allocations: 11.06 kB / 458 MB, free: 62.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/0.414, allocations: 210.6 kB / 458.2 MB, free: 62.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.4142, allocations: 239.6 kB / 458.5 MB, free: 62.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.4273, allocations: 5.917 MB / 464.4 MB, free: 60.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04191/0.4693, allocations: 21.1 MB / 485.5 MB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.4755, allocations: 8.694 MB / 494.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.4785, allocations: 2.373 MB / 496.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009127/0.4877, allocations: 6.113 MB / 0.4909 GB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4877, allocations: 60.55 kB / 0.4909 GB, free: 29.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 3.717e-06/0.4877, allocations: 0 / 0.4909 GB, free: 29.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.01912/0.5069, allocations: 11.29 MB / 0.502 GB, free: 18.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.5069, allocations: 73.41 kB / 0.502 GB, free: 18.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.5103, allocations: 2.986 MB / 0.505 GB, free: 15.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.5104, allocations: 68.22 kB / 0.505 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/0.5114, allocations: 2.306 MB / 0.5073 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.5118, allocations: 0.8109 MB / 0.5081 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006715/0.5125, allocations: 0.5098 MB / 0.5086 GB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.5125, allocations: 305.1 kB / 0.5089 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.5141, allocations: 1.353 MB / 0.5102 GB, free: 9.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.516, allocations: 2.131 MB / 0.5123 GB, free: 7.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.5197, allocations: 3.698 MB / 0.5159 GB, free: 3.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5197, allocations: 8 kB / 0.5159 GB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006483/0.5262, allocations: 4.655 MB / 0.5204 GB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.5263, allocations: 12.72 kB / 0.5204 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.5263, allocations: 24 kB / 0.5205 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.5281, allocations: 0.7614 MB / 0.5212 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.5304, allocations: 0.6357 MB / 0.5218 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.543, allocations: 14.54 MB / 0.536 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.5455, allocations: 151.8 kB / 0.5362 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/0.5458, allocations: 121.3 kB / 0.5363 GB, free: 13.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,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.002871/0.5487, allocations: 1.606 MB / 0.5378 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.5493, allocations: 320.1 kB / 0.5381 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/0.5559, allocations: 4.191 MB / 0.5422 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.556, allocations: 24 kB / 0.5423 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.556, allocations: 16 kB / 0.5423 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.556, allocations: 11.95 kB / 0.5423 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5706, allocations: 9.114 MB / 0.5512 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5706, allocations: 4 kB / 0.5512 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.5722, allocations: 383.9 kB / 0.5516 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.5746, allocations: 0.9358 MB / 0.5525 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.5748, allocations: 59.97 kB / 0.5525 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.5918, allocations: 18.01 MB / 0.5701 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.5918, allocations: 4 kB / 0.5701 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009324/0.6012, allocations: 6.064 MB / 0.576 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.6029, allocations: 0.6923 MB / 0.5767 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.6033, allocations: 59.98 kB / 0.5768 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.6047, allocations: 127.9 kB / 0.5769 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.6052, allocations: 205.6 kB / 0.5771 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.6054, allocations: 67.98 kB / 0.5772 GB, free: 1.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002708/0.6081, allocations: 2.038 MB / 0.5791 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6081, allocations: 0 / 0.5791 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002875/0.611, allocations: 0.9791 MB / 0.5801 GB, free: 14.85 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.000473/0.6114, allocations: 243.3 kB / 0.5803 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00631/0.6178, allocations: 4.586 MB / 0.5848 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6178, allocations: 0.5 kB / 0.5848 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004187/0.622, allocations: 3.059 MB / 0.5878 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/0.6258, allocations: 0.8996 MB / 0.5887 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.6403, allocations: 9.902 MB / 0.5984 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/0.6435, allocations: 3.438 MB / 0.6017 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002202/0.6457, allocations: 0.7659 MB / 0.6025 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.6463, allocations: 211.4 kB / 0.6027 GB, free: 7.375 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6463, allocations: 0 / 0.6027 GB, free: 7.375 MB / 478.1 MB Notification: Performance of Templates: time 0.2927/0.9391, allocations: 49.98 MB / 0.6515 GB, free: 148.8 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1)