Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007267/0.007268, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001628/0.001629, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001279/0.001279, allocations: 50.66 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09365, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02985/0.1235, allocations: 25.33 MB / 398.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1382, allocations: 7.063 MB / 405.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004813/0.143, allocations: 151.4 kB / 405.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006811/0.1499, allocations: 1.719 MB / 407.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00987/0.1598, allocations: 2.255 MB / 409.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005225/0.1651, allocations: 1.524 MB / 411.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.1788, allocations: 8.542 MB / 419.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/0.1923, allocations: 7.275 MB / 427.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.1993, allocations: 3.976 MB / 431 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00827/0.2076, allocations: 4.616 MB / 435.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003394/0.211, allocations: 1.133 MB / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005173/0.2162, allocations: 1.343 MB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006209/0.2225, allocations: 2.517 MB / 440.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01375/0.2363, allocations: 4.719 MB / 445.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.313/0.5494, allocations: 14.76 MB / 460.1 MB, free: 29.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5495, allocations: 0 / 460.1 MB, free: 29.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5495, allocations: 0 / 460.1 MB, free: 29.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000532/0.55, allocations: 1.219 kB / 460.1 MB, free: 29.39 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.03793/0.588, allocations: 9.411 MB / 469.5 MB, free: 26.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.588, allocations: 15.48 kB / 469.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.6018, allocations: 1.775 MB / 471.3 MB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.6172, allocations: 4.777 MB / 476.1 MB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000738/0.618, allocations: 0.5318 MB / 476.6 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004096/0.6221, allocations: 0.7124 MB / 477.4 MB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.6554, allocations: 9.776 MB / 487.1 MB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003247/0.6558, allocations: 11.39 kB / 487.1 MB, free: 19.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003914/0.6597, allocations: 299.6 kB / 487.4 MB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/0.6601, allocations: 352.8 kB / 487.8 MB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/0.6837, allocations: 8.295 MB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06767/0.7515, allocations: 30.16 MB / 0.5139 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.7696, allocations: 16.08 MB / 0.5296 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005903/0.7755, allocations: 3.018 MB / 0.5325 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/0.7921, allocations: 8.057 MB / 0.5404 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/0.7922, allocations: 71.05 kB / 0.5405 GB, free: 3.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=281): time 5.591e-06/0.7922, allocations: 0 / 0.5405 GB, free: 3.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=289): time 0.02752/0.8197, allocations: 11.67 MB / 0.5519 GB, free: 7.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.8199, allocations: 89.02 kB / 0.552 GB, free: 7.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/0.826, allocations: 3.649 MB / 0.5555 GB, free: 4.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006892/0.8267, allocations: 77.7 kB / 0.5556 GB, free: 4.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.8294, allocations: 3.268 MB / 0.5588 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.8311, allocations: 1.049 MB / 0.5598 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.8323, allocations: 0.6416 MB / 0.5604 GB, free: 15.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.8324, allocations: 308.9 kB / 0.5607 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.835, allocations: 1.475 MB / 0.5622 GB, free: 13.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.8388, allocations: 2.629 MB / 0.5647 GB, free: 10.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006767/0.8455, allocations: 4.388 MB / 0.569 GB, free: 5.414 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/0.8456, allocations: 8 kB / 0.569 GB, free: 5.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01011/0.8557, allocations: 5.047 MB / 0.574 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.8558, allocations: 20.62 kB / 0.574 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.071e-05/0.8559, allocations: 39.94 kB / 0.574 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.8569, allocations: 404.6 kB / 0.5744 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/0.8608, allocations: 0.8575 MB / 0.5753 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007834/0.8686, allocations: 7.966 MB / 0.583 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0051/0.8738, allocations: 176.1 kB / 0.5832 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008616/0.8747, allocations: 172 kB / 0.5834 GB, free: 6.426 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006477/0.8812, allocations: 2.135 MB / 0.5854 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/0.8828, allocations: 421.3 kB / 0.5858 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.8938, allocations: 4.453 MB / 0.5902 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.8939, allocations: 31.94 kB / 0.5902 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.894, allocations: 13.03 kB / 0.5902 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.814e-05/0.894, allocations: 18.34 kB / 0.5903 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/0.92, allocations: 10.48 MB / 0.6005 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.92, allocations: 4 kB / 0.6005 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.922, allocations: 433.5 kB / 0.6009 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.9243, allocations: 0.8758 MB / 0.6018 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.9245, allocations: 79.91 kB / 0.6018 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.9429, allocations: 17.63 MB / 0.6191 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.943, allocations: 7.75 kB / 0.6191 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.9542, allocations: 6.458 MB / 0.6254 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/0.9568, allocations: 0.8146 MB / 0.6262 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009174/0.9577, allocations: 67.98 kB / 0.6262 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.9597, allocations: 139.9 kB / 0.6264 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.9602, allocations: 216 kB / 0.6266 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.9604, allocations: 87.97 kB / 0.6267 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003961/0.9644, allocations: 2.471 MB / 0.6291 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9644, allocations: 0 / 0.6291 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004884/0.9693, allocations: 1.211 MB / 0.6303 GB, free: 5.273 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (220): * Single equations (assignments): 213 * 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,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006033/0.9699, allocations: 215.5 kB / 0.6305 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006939/0.9769, allocations: 4.373 MB / 0.6347 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9769, allocations: 0 / 0.6347 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2307/1.208, allocations: 3.002 MB / 0.6377 GB, free: 193.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006526/1.214, allocations: 1.12 MB / 0.6388 GB, free: 192.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.239, allocations: 12.67 MB / 0.6511 GB, free: 188.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.244, allocations: 4.358 MB / 0.6554 GB, free: 186.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003675/1.248, allocations: 0.8938 MB / 0.6563 GB, free: 186.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009197/1.249, allocations: 272.2 kB / 0.6565 GB, free: 186.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.384e-06/1.249, allocations: 3.969 kB / 0.6565 GB, free: 186.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.09015/1.339, allocations: 57.56 MB / 0.7127 GB, free: 134.9 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)