Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009501/0.0009501, allocations: 95.78 kB / 16.5 MB, free: 6.207 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.0009765/0.0009765, allocations: 193.4 kB / 17.42 MB, free: 5.844 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.293/1.293, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.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.001107/0.001107, allocations: 51.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08468, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02187/0.1066, allocations: 23.37 MB / 349.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1199, allocations: 6.414 MB / 355.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.125, allocations: 127.4 kB / 355.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005339/0.1304, allocations: 1.356 MB / 357.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007961/0.1384, allocations: 2.001 MB / 359.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.1429, allocations: 1.31 MB / 360.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01263/0.1556, allocations: 10.53 MB / 371.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008318/0.1639, allocations: 6.622 MB / 377.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1622/0.3262, allocations: 3.64 MB / 381.3 MB, free: 17.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00902/0.3352, allocations: 4.82 MB / 386.1 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003502/0.3388, allocations: 0.7348 MB / 386.9 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006319/0.3451, allocations: 0.9403 MB / 387.8 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004807/0.35, allocations: 2.343 MB / 390.2 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008593/0.3586, allocations: 4.782 MB / 394.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.3734, allocations: 16.4 MB / 411.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.3734, allocations: 0.5 kB / 411.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3734, allocations: 0.9688 kB / 411.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004807/0.3739, allocations: 0 / 411.3 MB, free: 6.598 MB / 318.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.03028/0.4042, allocations: 10.56 MB / 421.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4043, allocations: 7.594 kB / 421.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.4162, allocations: 2.032 MB / 423.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.4296, allocations: 5.403 MB / 429.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009412/0.4306, allocations: 0.5904 MB / 429.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/0.4348, allocations: 0.7854 MB / 430.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/0.4669, allocations: 11.33 MB / 442.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003681/0.4673, allocations: 18.84 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002522/0.4698, allocations: 327.4 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003842/0.4702, allocations: 376.3 kB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/0.4939, allocations: 9.883 MB / 452.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0672/0.5611, allocations: 34.5 MB / 487.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/0.581, allocations: 19.89 MB / 0.4951 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006941/0.5879, allocations: 3.712 MB / 0.4988 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01957/0.6075, allocations: 9.528 MB / 0.5081 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.6076, allocations: 73.03 kB / 0.5081 GB, free: 12.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=321): time 5.991e-06/0.6077, allocations: 0 / 0.5081 GB, free: 12.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=327): time 0.03469/0.6423, allocations: 15.2 MB / 0.523 GB, free: 13.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.6424, allocations: 89.36 kB / 0.5231 GB, free: 13.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/0.652, allocations: 4.409 MB / 0.5274 GB, free: 8.598 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000509/0.6526, allocations: 77.7 kB / 0.5275 GB, free: 8.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002742/0.6553, allocations: 3.552 MB / 0.5309 GB, free: 4.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.6565, allocations: 1.096 MB / 0.532 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.658, allocations: 0.6966 MB / 0.5327 GB, free: 3.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6582, allocations: 305.1 kB / 0.533 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/0.6614, allocations: 1.839 MB / 0.5348 GB, free: 1.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1568/0.8183, allocations: 2.927 MB / 0.5376 GB, free: 150.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/0.8249, allocations: 4.996 MB / 0.5425 GB, free: 149.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/0.8249, allocations: 10.19 kB / 0.5425 GB, free: 149.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009111/0.834, allocations: 6.12 MB / 0.5485 GB, free: 147.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.8341, allocations: 21.16 kB / 0.5485 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/0.8341, allocations: 34.81 kB / 0.5485 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.8362, allocations: 0.8432 MB / 0.5494 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.8393, allocations: 0.8283 MB / 0.5502 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.8519, allocations: 15 MB / 0.5648 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.8556, allocations: 173.5 kB / 0.565 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004667/0.856, allocations: 163.6 kB / 0.5651 GB, free: 134.7 MB / 446.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.004163/0.8602, allocations: 2.593 MB / 0.5677 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/0.8611, allocations: 461.3 kB / 0.5681 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008383/0.8695, allocations: 5.69 MB / 0.5737 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.8695, allocations: 33.34 kB / 0.5737 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.8696, allocations: 18.94 kB / 0.5737 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/0.8696, allocations: 14.86 kB / 0.5737 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.8871, allocations: 12.69 MB / 0.5861 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.8872, allocations: 4 kB / 0.5861 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.8887, allocations: 379.8 kB / 0.5865 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.8919, allocations: 1.462 MB / 0.5879 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.8922, allocations: 87.97 kB / 0.588 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.9118, allocations: 24.26 MB / 0.6117 GB, free: 96.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9118, allocations: 4 kB / 0.6117 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9232, allocations: 8.151 MB / 0.6197 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/0.9255, allocations: 0.9601 MB / 0.6206 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008533/0.9264, allocations: 79.98 kB / 0.6207 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/0.9284, allocations: 171.8 kB / 0.6208 GB, free: 87.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/0.9292, allocations: 313.9 kB / 0.6211 GB, free: 87.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/0.9294, allocations: 99.97 kB / 0.6212 GB, free: 86.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004207/0.9336, allocations: 3.021 MB / 0.6242 GB, free: 83.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9336, allocations: 0 / 0.6242 GB, free: 83.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005132/0.9387, allocations: 1.454 MB / 0.6256 GB, free: 82.49 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.0005397/0.9393, allocations: 216.6 kB / 0.6258 GB, free: 82.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007475/0.9468, allocations: 5.704 MB / 0.6314 GB, free: 76.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9468, allocations: 4.438 kB / 0.6314 GB, free: 76.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005135/0.9519, allocations: 4.104 MB / 0.6354 GB, free: 72.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/0.9575, allocations: 1.177 MB / 0.6365 GB, free: 71.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/0.9816, allocations: 18 MB / 0.6541 GB, free: 52.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004884/0.9865, allocations: 5.104 MB / 0.6591 GB, free: 47.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003568/0.9901, allocations: 1.011 MB / 0.6601 GB, free: 46.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/0.991, allocations: 279.4 kB / 0.6604 GB, free: 46.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.991, allocations: 0 / 0.6604 GB, free: 46.57 MB / 446.1 MB Notification: Performance of Templates: time 0.2827/1.274, allocations: 71.05 MB / 0.7297 GB, free: 114.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)