Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001482/0.001482, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.000433/0.000433, allocations: 12 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02069/0.247, allocations: 20.84 MB / 347.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2607, allocations: 6.143 MB / 353.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004531/0.2653, allocations: 135.4 kB / 353.6 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005005/0.2703, allocations: 1.106 MB / 354.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007925/0.2783, allocations: 1.748 MB / 356.5 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.2825, allocations: 0.9591 MB / 357.4 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.2947, allocations: 8.013 MB / 365.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.3049, allocations: 4.971 MB / 370.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00558/0.3105, allocations: 2.592 MB / 373 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007202/0.3177, allocations: 3.381 MB / 376.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.32, allocations: 448 kB / 376.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.3235, allocations: 0.6287 MB / 377.4 MB, free: 372 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.3264, allocations: 1.639 MB / 379.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.3296, allocations: 1.525 MB / 380.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.3441, allocations: 11.63 MB / 392.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3441, allocations: 0 / 392.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.32e-06/0.3441, allocations: 3.984 kB / 392.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005085/0.3447, allocations: 4 kB / 392.2 MB, free: 1.512 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01981/0.3645, allocations: 7.491 MB / 399.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3645, allocations: 8.031 kB / 399.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009279/0.3738, allocations: 1.677 MB / 401.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/0.3831, allocations: 4.308 MB / 405.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/0.3838, allocations: 0.5254 MB / 406.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.3859, allocations: 0.6795 MB / 406.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.4073, allocations: 9.4 MB / 416.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.4075, allocations: 4 kB / 416.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007338/0.4083, allocations: 288 kB / 416.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/0.4086, allocations: 338.2 kB / 416.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4255, allocations: 8.024 MB / 425 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05482/0.4803, allocations: 28.93 MB / 453.9 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1955/0.6758, allocations: 16.57 MB / 470.5 MB, free: 87.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/0.6808, allocations: 2.966 MB / 473.4 MB, free: 86.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.6923, allocations: 7.756 MB / 481.2 MB, free: 82.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.6924, allocations: 64.52 kB / 481.3 MB, free: 82.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=259): time 4.999e-06/0.6924, allocations: 0 / 481.3 MB, free: 82.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=265): time 0.02022/0.7127, allocations: 11.18 MB / 492.4 MB, free: 77.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.7127, allocations: 79.44 kB / 492.5 MB, free: 77.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.7169, allocations: 3.352 MB / 495.9 MB, free: 74.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.7171, allocations: 73.7 kB / 495.9 MB, free: 74.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.7185, allocations: 3.035 MB / 499 MB, free: 71.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006166/0.7191, allocations: 0.9102 MB / 499.9 MB, free: 70.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.7193, allocations: 72 kB / 499.9 MB, free: 70.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7194, allocations: 433.2 kB / 0.4886 GB, free: 70.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.7213, allocations: 1.397 MB / 0.49 GB, free: 69.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.7235, allocations: 2.438 MB / 0.4924 GB, free: 66.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.7257, allocations: 1.836 MB / 0.4942 GB, free: 64.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.7258, allocations: 14.52 kB / 0.4942 GB, free: 64.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006314/0.7321, allocations: 4.709 MB / 0.4988 GB, free: 59.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.7321, allocations: 16.78 kB / 0.4988 GB, free: 59.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.7322, allocations: 35.98 kB / 0.4988 GB, free: 59.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.733, allocations: 407.9 kB / 0.4992 GB, free: 59.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.7357, allocations: 0.7995 MB / 0.5 GB, free: 58.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.7404, allocations: 7.324 MB / 0.5072 GB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.7429, allocations: 171.8 kB / 0.5073 GB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.7431, allocations: 149.4 kB / 0.5075 GB, free: 50.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002982/0.7461, allocations: 2.082 MB / 0.5095 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/0.7467, allocations: 367.6 kB / 0.5099 GB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/0.7528, allocations: 4.231 MB / 0.514 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.7529, allocations: 31.98 kB / 0.514 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.7529, allocations: 12.12 kB / 0.514 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.7529, allocations: 15.95 kB / 0.514 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7667, allocations: 9.882 MB / 0.5237 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.7668, allocations: 4 kB / 0.5237 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.7685, allocations: 403.4 kB / 0.5241 GB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.7704, allocations: 0.8519 MB / 0.5249 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/0.7707, allocations: 75.97 kB / 0.525 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.7832, allocations: 16.06 MB / 0.5407 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7833, allocations: 192 / 0.5407 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/0.7914, allocations: 6.048 MB / 0.5466 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.7932, allocations: 0.7502 MB / 0.5473 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006075/0.7938, allocations: 63.98 kB / 0.5474 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.7953, allocations: 147.9 kB / 0.5475 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.7957, allocations: 201.6 kB / 0.5477 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.7959, allocations: 83.97 kB / 0.5478 GB, free: 7.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002997/0.7989, allocations: 2.263 MB / 0.55 GB, free: 5.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7989, allocations: 4 kB / 0.55 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003705/0.8026, allocations: 1.139 MB / 0.5511 GB, free: 3.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004367/0.8031, allocations: 213.7 kB / 0.5513 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005368/0.8084, allocations: 4.122 MB / 0.5553 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8085, allocations: 0 / 0.5553 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004423/0.8129, allocations: 2.862 MB / 0.5581 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/0.8172, allocations: 0.968 MB / 0.5591 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/0.8401, allocations: 14.54 MB / 0.5733 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/0.8446, allocations: 4.225 MB / 0.5774 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003187/0.8478, allocations: 0.8326 MB / 0.5782 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.8485, allocations: 251.4 kB / 0.5785 GB, free: 7.598 MB / 414.1 MB Notification: Performance of SimCode: time 1.113e-06/0.8485, allocations: 0 / 0.5785 GB, free: 7.598 MB / 414.1 MB Notification: Performance of Templates: time 0.2596/1.108, allocations: 51.56 MB / 0.6288 GB, free: 147.8 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)