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.005046/0.005046, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.001115/0.001115, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 4.422 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.001805/0.001805, allocations: 46.33 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1018, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.0242/0.126, allocations: 23.71 MB / 396.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.1415, allocations: 6.554 MB / 403.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005285/0.1468, allocations: 143.4 kB / 403.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.152, allocations: 1.568 MB / 405.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007627/0.1596, allocations: 2.119 MB / 407.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.1645, allocations: 1.446 MB / 408.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.1761, allocations: 8.087 MB / 416.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.1864, allocations: 7.149 MB / 424 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006674/0.1931, allocations: 3.832 MB / 427.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008638/0.2018, allocations: 4.433 MB / 432.2 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003985/0.2059, allocations: 1.094 MB / 433.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.2106, allocations: 1.297 MB / 434.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00392/0.2146, allocations: 2.435 MB / 437.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008114/0.2227, allocations: 4.521 MB / 441.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2471/0.4699, allocations: 14.17 MB / 455.7 MB, free: 28.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4699, allocations: 4.453 kB / 455.8 MB, free: 28.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4699, allocations: 0 / 455.8 MB, free: 28.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000609/0.4706, allocations: 0.5312 kB / 455.8 MB, free: 28.33 MB / 382.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.04179/0.5124, allocations: 8.833 MB / 464.6 MB, free: 25.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.105e-05/0.5125, allocations: 20.09 kB / 464.6 MB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.5247, allocations: 1.661 MB / 466.3 MB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.5378, allocations: 4.553 MB / 470.8 MB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007693/0.5386, allocations: 0.5128 MB / 471.3 MB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003334/0.542, allocations: 0.6816 MB / 472 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.5676, allocations: 9.446 MB / 481.5 MB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.5678, allocations: 3.281 kB / 481.5 MB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/0.5699, allocations: 290.2 kB / 481.7 MB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.5703, allocations: 332.7 kB / 482.1 MB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.588, allocations: 8.053 MB / 490.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05535/0.6434, allocations: 28.41 MB / 0.5064 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/0.6611, allocations: 16.59 MB / 0.5226 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005894/0.6671, allocations: 2.913 MB / 0.5254 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/0.6826, allocations: 7.688 MB / 0.5329 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.6827, allocations: 59.02 kB / 0.533 GB, free: 9.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=259): time 4.509e-06/0.6827, allocations: 0 / 0.533 GB, free: 9.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.02315/0.7058, allocations: 11 MB / 0.5437 GB, free: 14.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.706, allocations: 81.16 kB / 0.5438 GB, free: 14.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/0.7113, allocations: 3.373 MB / 0.5471 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005078/0.7119, allocations: 73.7 kB / 0.5472 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.7141, allocations: 3.038 MB / 0.5501 GB, free: 7.527 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.7154, allocations: 0.9155 MB / 0.551 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/0.7163, allocations: 0.5896 MB / 0.5516 GB, free: 6.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7164, allocations: 309.1 kB / 0.5519 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.7187, allocations: 1.393 MB / 0.5533 GB, free: 4.324 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.7216, allocations: 2.428 MB / 0.5556 GB, free: 1.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/0.7274, allocations: 4.078 MB / 0.5596 GB, free: 13.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.977e-05/0.7274, allocations: 12 kB / 0.5596 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00831/0.7357, allocations: 4.694 MB / 0.5642 GB, free: 8.445 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.7358, allocations: 20 kB / 0.5642 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/0.7359, allocations: 36 kB / 0.5643 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.7369, allocations: 408.5 kB / 0.5646 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.74, allocations: 0.7881 MB / 0.5654 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007173/0.7472, allocations: 7.972 MB / 0.5732 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.7505, allocations: 152 kB / 0.5733 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/0.751, allocations: 148 kB / 0.5735 GB, free: 14.46 MB / 478.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.00412/0.7551, allocations: 2.079 MB / 0.5755 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008987/0.756, allocations: 367.5 kB / 0.5759 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/0.7633, allocations: 4.212 MB / 0.58 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.7633, allocations: 24 kB / 0.58 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.7633, allocations: 12 kB / 0.58 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.7634, allocations: 19.89 kB / 0.58 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.7807, allocations: 9.868 MB / 0.5897 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.7807, allocations: 7.938 kB / 0.5897 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.7826, allocations: 410 kB / 0.5901 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.7848, allocations: 0.8474 MB / 0.5909 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/0.7852, allocations: 71.97 kB / 0.591 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.8032, allocations: 17.51 MB / 0.6081 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8032, allocations: 3.938 kB / 0.6081 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.8135, allocations: 6.028 MB / 0.614 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/0.8158, allocations: 0.7464 MB / 0.6147 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/0.8164, allocations: 56 kB / 0.6147 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.8181, allocations: 135.9 kB / 0.6149 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/0.8186, allocations: 205.6 kB / 0.6151 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.8188, allocations: 79.98 kB / 0.6151 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003333/0.8221, allocations: 2.29 MB / 0.6174 GB, free: 360 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8221, allocations: 0 / 0.6174 GB, free: 360 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004411/0.8265, allocations: 1.153 MB / 0.6185 GB, free: 15.2 MB / 0.5137 GB 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.0005429/0.8271, allocations: 213.5 kB / 0.6187 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006526/0.8336, allocations: 4.13 MB / 0.6227 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.8337, allocations: 4 kB / 0.6227 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004472/0.8382, allocations: 2.848 MB / 0.6255 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/0.8435, allocations: 1.008 MB / 0.6265 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2519/1.095, allocations: 11.98 MB / 0.6382 GB, free: 188.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005564/1.101, allocations: 4.225 MB / 0.6423 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003095/1.104, allocations: 0.8345 MB / 0.6431 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/1.105, allocations: 255 kB / 0.6434 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/1.105, allocations: 1.375 kB / 0.6434 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.08343/1.188, allocations: 54.06 MB / 0.6962 GB, free: 147.3 MB / 0.5137 GB 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)