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_MultiPhase.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_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008047, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005256/0.005256, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.4/1.4, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0005013/0.0005013, allocations: 18.8 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2347, allocations: 47.58 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02274/0.2574, allocations: 22.41 MB / 349.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.2713, allocations: 6.356 MB / 355.8 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/0.276, allocations: 131.4 kB / 355.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004836/0.2809, allocations: 1.352 MB / 357.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008973/0.2899, allocations: 1.997 MB / 359.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.2943, allocations: 1.295 MB / 360.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.013/0.3073, allocations: 10.52 MB / 371.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.3156, allocations: 6.571 MB / 377.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/0.3206, allocations: 3.162 MB / 380.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/0.3267, allocations: 4.22 MB / 385 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.3279, allocations: 0.5156 MB / 385.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.3303, allocations: 0.7185 MB / 386.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.3321, allocations: 2.024 MB / 388.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007272/0.3394, allocations: 4.409 MB / 392.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/0.3569, allocations: 15.87 MB / 408.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3569, allocations: 0 / 408.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.357, allocations: 0 / 408.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005898/0.3576, allocations: 0 / 408.6 MB, free: 1.477 MB / 334.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.02536/0.3829, allocations: 8.879 MB / 417.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.383, allocations: 12.03 kB / 417.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.395, allocations: 2.039 MB / 419.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.406, allocations: 5.398 MB / 424.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007311/0.4067, allocations: 0.5904 MB / 425.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.4099, allocations: 0.789 MB / 426.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/0.4376, allocations: 11.35 MB / 437.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.4379, allocations: 7.906 kB / 437.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/0.4389, allocations: 328 kB / 438 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003855/0.4393, allocations: 384.2 kB / 438.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.4608, allocations: 9.925 MB / 448.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4425/0.9033, allocations: 34.72 MB / 483 MB, free: 82.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/0.9198, allocations: 19.91 MB / 0.4911 GB, free: 64.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006372/0.9263, allocations: 3.767 MB / 0.4948 GB, free: 61.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.9401, allocations: 9.558 MB / 0.5041 GB, free: 51.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.9402, allocations: 73.03 kB / 0.5042 GB, free: 51.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 4.058e-06/0.9402, allocations: 0 / 0.5042 GB, free: 51.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.02969/0.9699, allocations: 15.4 MB / 0.5192 GB, free: 35.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.97, allocations: 87.48 kB / 0.5193 GB, free: 35.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/0.9755, allocations: 4.408 MB / 0.5236 GB, free: 31.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004839/0.976, allocations: 85.7 kB / 0.5237 GB, free: 31.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.9778, allocations: 3.541 MB / 0.5272 GB, free: 27.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.9789, allocations: 1.107 MB / 0.5282 GB, free: 26.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.9792, allocations: 326.1 kB / 0.5285 GB, free: 26.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.9793, allocations: 305.1 kB / 0.5288 GB, free: 25.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.9819, allocations: 1.866 MB / 0.5307 GB, free: 24.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/0.9848, allocations: 2.958 MB / 0.5335 GB, free: 20.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/0.9906, allocations: 5.04 MB / 0.5385 GB, free: 15.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.9907, allocations: 12 kB / 0.5385 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01014/1.001, allocations: 6.161 MB / 0.5445 GB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.001, allocations: 20 kB / 0.5445 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/1.001, allocations: 32 kB / 0.5445 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/1.003, allocations: 0.8478 MB / 0.5454 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.006, allocations: 0.8385 MB / 0.5462 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.019, allocations: 15.02 MB / 0.5609 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.023, allocations: 195.8 kB / 0.561 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/1.023, allocations: 160 kB / 0.5612 GB, free: 6.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (439): * Single equations (assignments): 430 * 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,5,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,22,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004982/1.028, allocations: 2.597 MB / 0.5637 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.029, allocations: 458.5 kB / 0.5642 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.04, allocations: 5.737 MB / 0.5698 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/1.04, allocations: 32 kB / 0.5698 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/1.04, allocations: 20 kB / 0.5698 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.04, allocations: 15.94 kB / 0.5698 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.061, allocations: 12.74 MB / 0.5823 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.062, allocations: 0 / 0.5823 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.063, allocations: 395.8 kB / 0.5827 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.067, allocations: 1.46 MB / 0.5841 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/1.067, allocations: 91.95 kB / 0.5842 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/1.093, allocations: 24.31 MB / 0.6079 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.093, allocations: 4 kB / 0.6079 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2067/1.3, allocations: 8.231 MB / 0.6159 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/1.302, allocations: 0.962 MB / 0.6169 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007454/1.303, allocations: 79.25 kB / 0.617 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.305, allocations: 186.6 kB / 0.6171 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000851/1.306, allocations: 320 kB / 0.6174 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.306, allocations: 94.05 kB / 0.6175 GB, free: 148.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004554/1.311, allocations: 3.023 MB / 0.6205 GB, free: 148.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.52e-07/1.311, allocations: 0.7812 kB / 0.6205 GB, free: 148.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004722/1.316, allocations: 1.441 MB / 0.6219 GB, free: 148.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (3,23,100.0%), (6,46,72.2%), (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.0005515/1.316, allocations: 223.9 kB / 0.6221 GB, free: 147.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/1.324, allocations: 5.751 MB / 0.6277 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.324, allocations: 0 / 0.6277 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005487/1.33, allocations: 4.143 MB / 0.6318 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007467/1.337, allocations: 1.185 MB / 0.6329 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.362, allocations: 18.18 MB / 0.6507 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004502/1.366, allocations: 5.105 MB / 0.6557 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003519/1.37, allocations: 1.015 MB / 0.6567 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007591/1.371, allocations: 283.4 kB / 0.6569 GB, free: 123.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/1.371, allocations: 0 / 0.6569 GB, free: 123.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1018/1.472, allocations: 70.05 MB / 0.7253 GB, free: 53.43 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)