Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.004944/0.004944, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001131/0.001131, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.002023/0.002023, allocations: 51.91 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.101, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.0276/0.1286, allocations: 25.33 MB / 398.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.1449, allocations: 7.067 MB / 405.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006037/0.151, allocations: 151.4 kB / 405.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005768/0.1568, allocations: 1.715 MB / 407.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009436/0.1663, allocations: 2.263 MB / 409.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.1717, allocations: 1.524 MB / 411.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01371/0.1854, allocations: 8.542 MB / 419.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.1978, allocations: 7.274 MB / 427.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008122/0.206, allocations: 3.996 MB / 431.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009155/0.2152, allocations: 4.616 MB / 435.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004057/0.2193, allocations: 1.133 MB / 436.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/0.2246, allocations: 1.347 MB / 438.2 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004032/0.2287, allocations: 2.521 MB / 440.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.239, allocations: 4.723 MB / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2865/0.5256, allocations: 14.72 MB / 460.1 MB, free: 29.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5256, allocations: 0 / 460.1 MB, free: 29.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.5256, allocations: 1 kB / 460.1 MB, free: 29.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005267/0.5262, allocations: 0 / 460.1 MB, free: 29.4 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.03576/0.5619, allocations: 9.215 MB / 469.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.562, allocations: 13.08 kB / 469.3 MB, free: 26.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.5752, allocations: 1.736 MB / 471.1 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.5901, allocations: 4.743 MB / 475.8 MB, free: 25.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007091/0.5909, allocations: 0.5354 MB / 476.4 MB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/0.5949, allocations: 0.7062 MB / 477.1 MB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03136/0.6263, allocations: 9.788 MB / 486.9 MB, free: 20.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004548/0.6268, allocations: 11.53 kB / 486.9 MB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003105/0.6299, allocations: 295.1 kB / 487.2 MB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/0.6303, allocations: 353.2 kB / 487.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.6506, allocations: 8.286 MB / 495.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06287/0.7135, allocations: 30.08 MB / 0.5135 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.7304, allocations: 16.08 MB / 0.5292 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006238/0.7367, allocations: 3.02 MB / 0.5322 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/0.756, allocations: 8.048 MB / 0.54 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.903e-05/0.7561, allocations: 64.78 kB / 0.5401 GB, free: 4.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=281): time 5.951e-06/0.7561, allocations: 0 / 0.5401 GB, free: 4.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=289): time 0.02679/0.7829, allocations: 11.57 MB / 0.5514 GB, free: 8.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.783, allocations: 85.31 kB / 0.5515 GB, free: 8.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/0.792, allocations: 3.653 MB / 0.5551 GB, free: 4.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007519/0.7928, allocations: 73.7 kB / 0.5551 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002636/0.7954, allocations: 3.176 MB / 0.5582 GB, free: 1.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.7969, allocations: 0.992 MB / 0.5592 GB, free: 432 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/0.7986, allocations: 0.6475 MB / 0.5598 GB, free: 15.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.7987, allocations: 309.1 kB / 0.5601 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.8015, allocations: 1.479 MB / 0.5616 GB, free: 13.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.8049, allocations: 2.63 MB / 0.5641 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.8113, allocations: 4.393 MB / 0.5684 GB, free: 6.102 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.565e-05/0.8113, allocations: 8 kB / 0.5684 GB, free: 6.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.009625/0.821, allocations: 5.01 MB / 0.5733 GB, free: 1.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.8211, allocations: 20 kB / 0.5733 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-05/0.8211, allocations: 36 kB / 0.5734 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.8222, allocations: 416.8 kB / 0.5738 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/0.8257, allocations: 0.8599 MB / 0.5746 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.8334, allocations: 7.976 MB / 0.5824 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.8379, allocations: 171.7 kB / 0.5826 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/0.8389, allocations: 164 kB / 0.5827 GB, free: 7.137 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.005881/0.8448, allocations: 2.14 MB / 0.5848 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/0.8465, allocations: 401.4 kB / 0.5852 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009746/0.8563, allocations: 4.444 MB / 0.5895 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.8564, allocations: 35.94 kB / 0.5896 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/0.8564, allocations: 12 kB / 0.5896 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/0.8564, allocations: 15.94 kB / 0.5896 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.8807, allocations: 10.47 MB / 0.5998 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.8808, allocations: 4 kB / 0.5998 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.8829, allocations: 451.5 kB / 0.6003 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/0.8853, allocations: 0.8673 MB / 0.6011 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003369/0.8857, allocations: 75.98 kB / 0.6012 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.9049, allocations: 17.62 MB / 0.6184 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9049, allocations: 4 kB / 0.6184 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.9183, allocations: 6.425 MB / 0.6247 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/0.9215, allocations: 0.8007 MB / 0.6255 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/0.9229, allocations: 64 kB / 0.6255 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/0.9259, allocations: 139.9 kB / 0.6256 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006155/0.9265, allocations: 217.6 kB / 0.6259 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/0.9268, allocations: 91.81 kB / 0.6259 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005387/0.9322, allocations: 2.465 MB / 0.6283 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9323, allocations: 0 / 0.6283 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006187/0.9384, allocations: 1.219 MB / 0.6295 GB, free: 6.047 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.0006889/0.9391, allocations: 212.8 kB / 0.6297 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008079/0.9472, allocations: 4.371 MB / 0.634 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9473, allocations: 1.062 kB / 0.634 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2733/1.221, allocations: 2.987 MB / 0.6369 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.006507/1.227, allocations: 1.125 MB / 0.638 GB, free: 193 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/1.256, allocations: 12.48 MB / 0.6502 GB, free: 188.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006853/1.263, allocations: 4.34 MB / 0.6544 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004582/1.267, allocations: 0.8904 MB / 0.6553 GB, free: 186.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.269, allocations: 276.2 kB / 0.6556 GB, free: 186.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/1.269, allocations: 0 / 0.6556 GB, free: 186.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.09722/1.366, allocations: 58.36 MB / 0.7126 GB, free: 135.2 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)