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.001193/0.001193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001191/0.001191, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.442/1.442, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.001478/0.001478, allocations: 43.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.23, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02259/0.2526, allocations: 23.36 MB / 348.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2662, allocations: 6.395 MB / 354.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/0.2708, allocations: 131.4 kB / 354.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00485/0.2757, allocations: 1.368 MB / 356.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008906/0.2846, allocations: 1.978 MB / 358.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.289, allocations: 1.295 MB / 359.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01775/0.3067, allocations: 10.2 MB / 369.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01925/0.3261, allocations: 7.984 MB / 377.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008424/0.3345, allocations: 4.361 MB / 381.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008299/0.3429, allocations: 5.219 MB / 387.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003966/0.3469, allocations: 1.293 MB / 388.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005426/0.3523, allocations: 1.508 MB / 389.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005208/0.3576, allocations: 2.93 MB / 392.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.3685, allocations: 5.392 MB / 398.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/0.3899, allocations: 16.82 MB / 415.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.39, allocations: 0 / 415.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.39, allocations: 0 / 415.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006189/0.3906, allocations: 0 / 415.1 MB, free: 9.492 MB / 350.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.0326/0.4232, allocations: 10.53 MB / 425.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.4233, allocations: 15.83 kB / 425.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.4363, allocations: 2.043 MB / 427.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.4481, allocations: 5.394 MB / 433.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000611/0.4488, allocations: 0.5943 MB / 433.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/0.4521, allocations: 0.7967 MB / 434.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/0.4823, allocations: 11.32 MB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/0.4826, allocations: 11.84 kB / 445.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.4837, allocations: 336 kB / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003446/0.4841, allocations: 376.3 kB / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3276/0.8117, allocations: 9.877 MB / 456.4 MB, free: 99.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05572/0.8675, allocations: 34.49 MB / 490.8 MB, free: 76.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.8814, allocations: 19.89 MB / 0.4988 GB, free: 56.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/0.8867, allocations: 3.725 MB / 0.5024 GB, free: 53.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.9008, allocations: 9.523 MB / 0.5117 GB, free: 43.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.9008, allocations: 69.09 kB / 0.5118 GB, free: 43.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 4.669e-06/0.9009, allocations: 0 / 0.5118 GB, free: 43.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.02934/0.9302, allocations: 15.21 MB / 0.5266 GB, free: 27.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.9303, allocations: 85.92 kB / 0.5267 GB, free: 27.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/0.936, allocations: 4.409 MB / 0.531 GB, free: 23.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003805/0.9364, allocations: 85.7 kB / 0.5311 GB, free: 23.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.9379, allocations: 3.544 MB / 0.5345 GB, free: 19.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006782/0.9386, allocations: 1.103 MB / 0.5356 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008673/0.9395, allocations: 0.6927 MB / 0.5363 GB, free: 17.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.9395, allocations: 305.1 kB / 0.5366 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/0.9419, allocations: 1.846 MB / 0.5384 GB, free: 15.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.9446, allocations: 2.926 MB / 0.5413 GB, free: 12.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/0.9496, allocations: 4.993 MB / 0.5461 GB, free: 6.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.9497, allocations: 16 kB / 0.5461 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008301/0.958, allocations: 6.115 MB / 0.5521 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.9581, allocations: 23.94 kB / 0.5521 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/0.9581, allocations: 32 kB / 0.5522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.9601, allocations: 0.8474 MB / 0.553 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/0.9634, allocations: 0.8286 MB / 0.5538 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.9792, allocations: 16.28 MB / 0.5697 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.9829, allocations: 179.9 kB / 0.5699 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/0.9836, allocations: 164 kB / 0.57 GB, free: 13.32 MB / 414.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.004738/0.9883, allocations: 2.589 MB / 0.5726 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/0.9895, allocations: 454.5 kB / 0.573 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.9997, allocations: 5.694 MB / 0.5786 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.9997, allocations: 32 kB / 0.5786 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/0.9998, allocations: 23.98 kB / 0.5786 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.9998, allocations: 11.95 kB / 0.5786 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02249/1.022, allocations: 12.7 MB / 0.591 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.022, allocations: 8 kB / 0.591 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.024, allocations: 383.9 kB / 0.5914 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00383/1.028, allocations: 1.471 MB / 0.5928 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004827/1.029, allocations: 99.89 kB / 0.5929 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2183/1.247, allocations: 26.44 MB / 0.6187 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.247, allocations: 9.266 kB / 0.6188 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.259, allocations: 8.155 MB / 0.6267 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/1.262, allocations: 0.9551 MB / 0.6277 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009086/1.263, allocations: 88.95 kB / 0.6277 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.265, allocations: 162.9 kB / 0.6279 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009225/1.266, allocations: 323.8 kB / 0.6282 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.266, allocations: 93.5 kB / 0.6283 GB, free: 143.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004771/1.271, allocations: 3.018 MB / 0.6312 GB, free: 142.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.271, allocations: 0 / 0.6312 GB, free: 142.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00628/1.277, allocations: 1.446 MB / 0.6327 GB, free: 142.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.0006404/1.278, allocations: 222.5 kB / 0.6329 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01497/1.293, allocations: 8.043 MB / 0.6407 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.293, allocations: 7.969 kB / 0.6407 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005401/1.298, allocations: 4.103 MB / 0.6447 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005672/1.304, allocations: 1.246 MB / 0.6459 GB, free: 133.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.327, allocations: 18 MB / 0.6635 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/1.331, allocations: 5.098 MB / 0.6685 GB, free: 112.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00337/1.334, allocations: 1.015 MB / 0.6695 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/1.335, allocations: 287.4 kB / 0.6698 GB, free: 111.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.895e-06/1.335, allocations: 0 / 0.6698 GB, free: 111.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1019/1.437, allocations: 73.62 MB / 0.7417 GB, free: 37.4 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)