Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.00133/0.00133, allocations: 47.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2627, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02494/0.2877, allocations: 23.72 MB / 349 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.3032, allocations: 6.554 MB / 355.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006403/0.3096, allocations: 143.4 kB / 355.7 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.3159, allocations: 1.56 MB / 357.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009579/0.3255, allocations: 2.112 MB / 359.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006243/0.3318, allocations: 1.45 MB / 360.8 MB, free: 248 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.3443, allocations: 8.033 MB / 368.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01345/0.3578, allocations: 7.161 MB / 376 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007983/0.3658, allocations: 3.801 MB / 379.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009337/0.3752, allocations: 4.406 MB / 384.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00441/0.3796, allocations: 1.094 MB / 385.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/0.3856, allocations: 1.32 MB / 386.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006531/0.3922, allocations: 2.435 MB / 389.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01119/0.4035, allocations: 4.52 MB / 393.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01979/0.4233, allocations: 14.06 MB / 407.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4233, allocations: 0 / 407.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4233, allocations: 4 kB / 407.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005463/0.4239, allocations: 0 / 407.7 MB, free: 1.176 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03154/0.4555, allocations: 8.84 MB / 416.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4555, allocations: 11.89 kB / 416.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4664, allocations: 1.666 MB / 418.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4782, allocations: 4.506 MB / 422.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.4789, allocations: 0.5182 MB / 423.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.4813, allocations: 0.6795 MB / 423.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.5032, allocations: 9.435 MB / 433.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.5034, allocations: 15.83 kB / 433.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009538/0.5043, allocations: 280 kB / 433.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003176/0.5046, allocations: 338.2 kB / 434 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.5226, allocations: 8.051 MB / 442 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2431/0.7658, allocations: 28.79 MB / 470.8 MB, free: 90.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.7777, allocations: 16.59 MB / 487.4 MB, free: 75.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004108/0.7819, allocations: 2.94 MB / 490.3 MB, free: 73.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.7927, allocations: 7.726 MB / 498.1 MB, free: 68.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.7928, allocations: 58.11 kB / 498.1 MB, free: 68.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=259): time 4.338e-06/0.7928, allocations: 0 / 498.1 MB, free: 68.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=265): time 0.0188/0.8116, allocations: 10.99 MB / 0.4972 GB, free: 59.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.8117, allocations: 81.44 kB / 0.4972 GB, free: 59.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.8157, allocations: 3.377 MB / 0.5005 GB, free: 56.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.816, allocations: 69.7 kB / 0.5006 GB, free: 56.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.8174, allocations: 3.047 MB / 0.5036 GB, free: 53.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008269/0.8183, allocations: 0.9103 MB / 0.5045 GB, free: 52.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008297/0.8191, allocations: 0.5934 MB / 0.5051 GB, free: 51.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.8192, allocations: 305.1 kB / 0.5053 GB, free: 51.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.8211, allocations: 1.393 MB / 0.5067 GB, free: 50.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.8234, allocations: 2.43 MB / 0.5091 GB, free: 47.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.8278, allocations: 4.074 MB / 0.5131 GB, free: 42.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.8278, allocations: 15.98 kB / 0.5131 GB, free: 42.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006465/0.8343, allocations: 4.7 MB / 0.5177 GB, free: 37.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.8344, allocations: 23.94 kB / 0.5177 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.8344, allocations: 32 kB / 0.5177 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/0.8353, allocations: 392.6 kB / 0.5181 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.8379, allocations: 0.8034 MB / 0.5189 GB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.843, allocations: 7.974 MB / 0.5267 GB, free: 28.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.846, allocations: 156 kB / 0.5268 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.8464, allocations: 152 kB / 0.527 GB, free: 27.83 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 (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003303/0.8497, allocations: 2.074 MB / 0.529 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/0.8505, allocations: 371.4 kB / 0.5293 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006214/0.8568, allocations: 4.215 MB / 0.5335 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.8568, allocations: 31.98 kB / 0.5335 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.8568, allocations: 19.94 kB / 0.5335 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.8569, allocations: 11.95 kB / 0.5335 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.8714, allocations: 9.867 MB / 0.5432 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8714, allocations: 8 kB / 0.5432 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.873, allocations: 407.8 kB / 0.5435 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.8748, allocations: 0.8587 MB / 0.5444 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.875, allocations: 75.97 kB / 0.5445 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/0.8904, allocations: 17.51 MB / 0.5616 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8904, allocations: 4 kB / 0.5616 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.9004, allocations: 6.027 MB / 0.5674 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/0.9024, allocations: 0.7464 MB / 0.5682 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006751/0.9031, allocations: 60 kB / 0.5682 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.9049, allocations: 127.9 kB / 0.5684 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.9055, allocations: 209.6 kB / 0.5686 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.9056, allocations: 79.98 kB / 0.5686 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003839/0.9095, allocations: 2.29 MB / 0.5709 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9095, allocations: 4 kB / 0.5709 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004424/0.9139, allocations: 1.139 MB / 0.572 GB, free: 12.26 MB / 414.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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (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.0006143/0.9146, allocations: 215.6 kB / 0.5722 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01302/0.9276, allocations: 5.734 MB / 0.5778 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.9277, allocations: 0 / 0.5778 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/0.9326, allocations: 2.857 MB / 0.5806 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/0.9375, allocations: 1.007 MB / 0.5816 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.9604, allocations: 12.14 MB / 0.5934 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/0.9646, allocations: 4.221 MB / 0.5975 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003115/0.9678, allocations: 0.8365 MB / 0.5984 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.9685, allocations: 255.4 kB / 0.5986 GB, free: 0.707 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.9685, allocations: 0 / 0.5986 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Templates: time 0.2523/1.221, allocations: 55.57 MB / 0.6529 GB, free: 128.3 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)