Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001065/0.001065, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001203/0.001203, allocations: 200 kB / 18.01 MB, free: 5.055 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.3/1.3, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.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.001175/0.001175, allocations: 55.91 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09324, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.2016/0.2949, allocations: 25.33 MB / 399.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3135, allocations: 7.077 MB / 406.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.3208, allocations: 150.9 kB / 407.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006233/0.3271, allocations: 1.711 MB / 408.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009921/0.337, allocations: 2.257 MB / 411 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.3425, allocations: 1.526 MB / 412.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0136/0.3561, allocations: 8.537 MB / 421.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.3664, allocations: 7.276 MB / 428.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00832/0.3748, allocations: 3.972 MB / 432.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00848/0.3833, allocations: 4.616 MB / 437 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002989/0.3864, allocations: 1.129 MB / 438.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00601/0.3924, allocations: 1.351 MB / 439.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.3977, allocations: 2.524 MB / 442 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01372/0.4114, allocations: 4.715 MB / 446.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02849/0.44, allocations: 14.72 MB / 461.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4401, allocations: 0 / 461.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.4401, allocations: 4 kB / 461.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005805/0.4407, allocations: 3.938 kB / 461.4 MB, free: 8.469 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.04258/0.4833, allocations: 9.22 MB / 470.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.4833, allocations: 11.89 kB / 470.6 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/0.5008, allocations: 1.732 MB / 472.4 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.516, allocations: 4.742 MB / 477.1 MB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005607/0.5166, allocations: 0.5381 MB / 477.7 MB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/0.5196, allocations: 0.7072 MB / 478.4 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/0.546, allocations: 9.778 MB / 488.1 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001845/0.5462, allocations: 7.906 kB / 488.1 MB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.5473, allocations: 296 kB / 488.4 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003268/0.5476, allocations: 358.6 kB / 488.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.5684, allocations: 8.287 MB / 497.1 MB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06194/0.6303, allocations: 30.09 MB / 0.5148 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/0.6471, allocations: 16.08 MB / 0.5305 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/0.6535, allocations: 3.019 MB / 0.5335 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/0.6704, allocations: 8.039 MB / 0.5413 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.6705, allocations: 68.78 kB / 0.5414 GB, free: 8.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 6.533e-06/0.6706, allocations: 0 / 0.5414 GB, free: 8.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.4476/1.118, allocations: 11.57 MB / 0.5527 GB, free: 144.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.118, allocations: 84.16 kB / 0.5528 GB, free: 144.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007102/1.125, allocations: 3.646 MB / 0.5563 GB, free: 143.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005331/1.126, allocations: 79.03 kB / 0.5564 GB, free: 143.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002235/1.128, allocations: 3.181 MB / 0.5595 GB, free: 141.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009859/1.129, allocations: 0.9916 MB / 0.5605 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.13, allocations: 0.6488 MB / 0.5611 GB, free: 140 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/1.13, allocations: 306.9 kB / 0.5614 GB, free: 139.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.133, allocations: 1.479 MB / 0.5628 GB, free: 139.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/1.136, allocations: 2.625 MB / 0.5654 GB, free: 137.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/1.142, allocations: 4.384 MB / 0.5697 GB, free: 134.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/1.142, allocations: 10.47 kB / 0.5697 GB, free: 134.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.009387/1.151, allocations: 5.024 MB / 0.5746 GB, free: 132 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/1.151, allocations: 21.12 kB / 0.5746 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.37e-05/1.151, allocations: 39.41 kB / 0.5747 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.152, allocations: 402.5 kB / 0.575 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.156, allocations: 0.8664 MB / 0.5759 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/1.161, allocations: 7.963 MB / 0.5837 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/1.166, allocations: 172.4 kB / 0.5838 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006569/1.166, allocations: 163.7 kB / 0.584 GB, free: 124.7 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.004845/1.171, allocations: 2.143 MB / 0.5861 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.172, allocations: 396.2 kB / 0.5864 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007155/1.179, allocations: 4.46 MB / 0.5908 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.179, allocations: 31.17 kB / 0.5908 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.179, allocations: 10.88 kB / 0.5908 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.179, allocations: 11.06 kB / 0.5909 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.195, allocations: 10.47 MB / 0.6011 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.195, allocations: 7.938 kB / 0.6011 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.197, allocations: 443.9 kB / 0.6015 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/1.199, allocations: 0.8776 MB / 0.6024 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.199, allocations: 79.97 kB / 0.6024 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.212, allocations: 17.62 MB / 0.6197 GB, free: 96.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.212, allocations: 11.88 kB / 0.6197 GB, free: 96.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/1.221, allocations: 6.434 MB / 0.6259 GB, free: 89.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.224, allocations: 0.7968 MB / 0.6267 GB, free: 88.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007679/1.224, allocations: 67.98 kB / 0.6268 GB, free: 88.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.226, allocations: 135.9 kB / 0.6269 GB, free: 88.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004946/1.227, allocations: 217.8 kB / 0.6271 GB, free: 88.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.227, allocations: 88.22 kB / 0.6272 GB, free: 88.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003269/1.23, allocations: 2.465 MB / 0.6296 GB, free: 85.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.92e-07/1.23, allocations: 0 / 0.6296 GB, free: 85.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004814/1.235, allocations: 1.222 MB / 0.6308 GB, free: 84.65 MB / 478.1 MB 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.0005216/1.236, allocations: 210.6 kB / 0.631 GB, free: 84.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006332/1.242, allocations: 4.379 MB / 0.6353 GB, free: 79.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.242, allocations: 4 kB / 0.6353 GB, free: 79.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/1.246, allocations: 2.979 MB / 0.6382 GB, free: 76.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.251, allocations: 1.114 MB / 0.6393 GB, free: 75.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.272, allocations: 12.47 MB / 0.6515 GB, free: 63.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003666/1.276, allocations: 4.351 MB / 0.6557 GB, free: 58.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002985/1.279, allocations: 0.8941 MB / 0.6566 GB, free: 57.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/1.28, allocations: 279.4 kB / 0.6569 GB, free: 57.65 MB / 478.1 MB Notification: Performance of SimCode: time 2.034e-06/1.28, allocations: 0 / 0.6569 GB, free: 57.65 MB / 478.1 MB Notification: Performance of Templates: time 0.08687/1.366, allocations: 57.55 MB / 0.7131 GB, free: 92 kB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)