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.001129/0.001129, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001061/0.001061, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.316/1.316, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001123/0.001123, allocations: 47.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08703, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02245/0.1095, allocations: 23.37 MB / 349.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.123, allocations: 6.375 MB / 355.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004595/0.1276, allocations: 135.4 kB / 356 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004651/0.1324, allocations: 1.368 MB / 357.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007026/0.1394, allocations: 1.982 MB / 359.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.1429, allocations: 1.295 MB / 360.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.1553, allocations: 10.19 MB / 370.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3162/0.4715, allocations: 7.985 MB / 378.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00915/0.4807, allocations: 4.368 MB / 383.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.4917, allocations: 5.223 MB / 388.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004993/0.4967, allocations: 1.293 MB / 389.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/0.5034, allocations: 1.495 MB / 391.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.508, allocations: 2.934 MB / 394.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01157/0.5196, allocations: 5.393 MB / 399.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.5368, allocations: 16.81 MB / 416.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5368, allocations: 0 / 416.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5369, allocations: 3.312 kB / 416.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007551/0.5376, allocations: 0 / 416.4 MB, free: 2.305 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.03236/0.57, allocations: 10.54 MB / 426.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5701, allocations: 17.02 kB / 426.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.5828, allocations: 2.04 MB / 429 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.5966, allocations: 5.399 MB / 434.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007029/0.5974, allocations: 0.5901 MB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/0.6005, allocations: 0.7846 MB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.6356, allocations: 11.33 MB / 447.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005056/0.6361, allocations: 11.89 kB / 447.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002938/0.6391, allocations: 326.5 kB / 447.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/0.6395, allocations: 380.3 kB / 447.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.665, allocations: 9.877 MB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/0.7387, allocations: 34.5 MB / 492.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/0.7592, allocations: 19.89 MB / 0.5 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006865/0.7661, allocations: 3.727 MB / 0.5037 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/0.7874, allocations: 9.528 MB / 0.513 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/0.7875, allocations: 73.03 kB / 0.513 GB, free: 7.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=321): time 6.773e-06/0.7875, allocations: 0 / 0.513 GB, free: 7.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=327): time 0.03596/0.8235, allocations: 15.19 MB / 0.5279 GB, free: 7.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.8236, allocations: 85.55 kB / 0.528 GB, free: 7.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007157/0.8307, allocations: 4.401 MB / 0.5323 GB, free: 3.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000609/0.8314, allocations: 81.7 kB / 0.5323 GB, free: 3.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1795/1.011, allocations: 3.545 MB / 0.5358 GB, free: 152.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.012, allocations: 1.105 MB / 0.5369 GB, free: 152.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.014, allocations: 0.6978 MB / 0.5376 GB, free: 152.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/1.014, allocations: 305.8 kB / 0.5378 GB, free: 152.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.017, allocations: 1.84 MB / 0.5396 GB, free: 152.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/1.02, allocations: 2.926 MB / 0.5425 GB, free: 150.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/1.027, allocations: 5.001 MB / 0.5474 GB, free: 147.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.114e-05/1.027, allocations: 8.406 kB / 0.5474 GB, free: 147.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01005/1.037, allocations: 6.117 MB / 0.5534 GB, free: 145.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/1.037, allocations: 20.41 kB / 0.5534 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/1.037, allocations: 35.41 kB / 0.5534 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/1.039, allocations: 0.8501 MB / 0.5542 GB, free: 144.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.042, allocations: 0.8289 MB / 0.5551 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.055, allocations: 16.29 MB / 0.571 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/1.058, allocations: 184.5 kB / 0.5711 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/1.059, allocations: 161.4 kB / 0.5713 GB, free: 131.5 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.004014/1.063, allocations: 2.59 MB / 0.5738 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/1.064, allocations: 456.8 kB / 0.5743 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/1.072, allocations: 5.7 MB / 0.5798 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.072, allocations: 34.7 kB / 0.5799 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/1.072, allocations: 19.47 kB / 0.5799 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.072, allocations: 16.2 kB / 0.5799 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.09, allocations: 12.68 MB / 0.5923 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.09, allocations: 4 kB / 0.5923 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.092, allocations: 383.7 kB / 0.5926 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/1.095, allocations: 1.464 MB / 0.5941 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/1.095, allocations: 99.89 kB / 0.5942 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/1.115, allocations: 26.48 MB / 0.62 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.115, allocations: 4 kB / 0.62 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.127, allocations: 8.153 MB / 0.628 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/1.129, allocations: 0.9523 MB / 0.6289 GB, free: 79.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/1.13, allocations: 88.91 kB / 0.629 GB, free: 79.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.132, allocations: 167.9 kB / 0.6292 GB, free: 79.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/1.133, allocations: 321.9 kB / 0.6295 GB, free: 78.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.133, allocations: 88.03 kB / 0.6296 GB, free: 78.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004125/1.137, allocations: 3.029 MB / 0.6325 GB, free: 75.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.623e-06/1.137, allocations: 0 / 0.6325 GB, free: 75.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0052/1.143, allocations: 1.447 MB / 0.6339 GB, free: 74.32 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.0005037/1.143, allocations: 223.5 kB / 0.6341 GB, free: 74.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01496/1.158, allocations: 8.047 MB / 0.642 GB, free: 65.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.158, allocations: 4.875 kB / 0.642 GB, free: 65.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.163, allocations: 4.102 MB / 0.646 GB, free: 61.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/1.169, allocations: 1.24 MB / 0.6472 GB, free: 60.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/1.193, allocations: 17.99 MB / 0.6648 GB, free: 42.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004334/1.198, allocations: 5.104 MB / 0.6698 GB, free: 37.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003495/1.201, allocations: 1.011 MB / 0.6708 GB, free: 36.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/1.202, allocations: 279.4 kB / 0.671 GB, free: 35.98 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/1.202, allocations: 0 / 0.671 GB, free: 35.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2976/1.499, allocations: 73.61 MB / 0.7429 GB, free: 121.2 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)