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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001008, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.365/1.365, allocations: 194.2 MB / 208.4 MB, free: 6.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001601/0.001601, allocations: 104.8 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.217e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08821, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4137, allocations: 111.3 MB / 460.7 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.414, allocations: 85.83 kB / 460.8 MB, free: 0.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5779/0.9919, allocations: 169.2 MB / 0.6152 GB, free: 61.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.992, allocations: 0 / 0.6152 GB, free: 61.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005695/0.9926, allocations: 170.5 kB / 0.6154 GB, free: 61.72 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02205/1.015, allocations: 6.662 MB / 0.6219 GB, free: 57.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.015, allocations: 10.34 kB / 0.6219 GB, free: 57.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009899/1.025, allocations: 1.592 MB / 0.6235 GB, free: 56.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.039, allocations: 5.901 MB / 0.6292 GB, free: 50.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/1.04, allocations: 0.5331 MB / 0.6298 GB, free: 49.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/1.043, allocations: 0.7052 MB / 0.6304 GB, free: 49.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/1.064, allocations: 9.349 MB / 0.6396 GB, free: 39.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/1.064, allocations: 15.84 kB / 0.6396 GB, free: 39.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007662/1.065, allocations: 307.1 kB / 0.6399 GB, free: 39.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002199/1.065, allocations: 338.6 kB / 0.6402 GB, free: 38.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/1.08, allocations: 7.52 MB / 0.6475 GB, free: 31.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05852/1.138, allocations: 30.59 MB / 0.6774 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3329/1.471, allocations: 15.96 MB / 0.693 GB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007018/1.478, allocations: 3.027 MB / 0.696 GB, free: 57.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/1.496, allocations: 8.147 MB / 0.7039 GB, free: 56.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/1.496, allocations: 64.88 kB / 0.704 GB, free: 56.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 6.162e-06/1.496, allocations: 0 / 0.704 GB, free: 56.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01853/1.515, allocations: 8.343 MB / 0.7121 GB, free: 54.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.515, allocations: 86.02 kB / 0.7122 GB, free: 54.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007377/1.522, allocations: 3.18 MB / 0.7153 GB, free: 54.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.523, allocations: 72.92 kB / 0.7154 GB, free: 54.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002036/1.525, allocations: 3.166 MB / 0.7185 GB, free: 52.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.527, allocations: 0.9939 MB / 0.7194 GB, free: 52.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.527, allocations: 75.78 kB / 0.7195 GB, free: 52.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/1.527, allocations: 450 kB / 0.7199 GB, free: 51.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/1.529, allocations: 1.398 MB / 0.7213 GB, free: 51.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/1.532, allocations: 2.507 MB / 0.7238 GB, free: 50.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/1.535, allocations: 1.887 MB / 0.7256 GB, free: 50.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/1.535, allocations: 10.75 kB / 0.7256 GB, free: 50.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.007763/1.543, allocations: 4.834 MB / 0.7303 GB, free: 50.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.543, allocations: 23.22 kB / 0.7304 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.543, allocations: 41.67 kB / 0.7304 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009552/1.544, allocations: 403.3 kB / 0.7308 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/1.547, allocations: 0.8638 MB / 0.7316 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/1.552, allocations: 7.325 MB / 0.7388 GB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/1.556, allocations: 185.5 kB / 0.739 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/1.556, allocations: 165.1 kB / 0.7391 GB, free: 44.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006427/1.557, allocations: 327.8 kB / 0.7394 GB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/1.557, allocations: 399.1 kB / 0.7398 GB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/1.565, allocations: 4.348 MB / 0.7441 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.565, allocations: 25.94 kB / 0.7441 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/1.565, allocations: 13.72 kB / 0.7441 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/1.565, allocations: 14.3 kB / 0.7441 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.582, allocations: 10.36 MB / 0.7542 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.582, allocations: 3.406 kB / 0.7542 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.584, allocations: 447.3 kB / 0.7547 GB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/1.586, allocations: 0.8771 MB / 0.7555 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/1.586, allocations: 75.55 kB / 0.7556 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/1.606, allocations: 16.27 MB / 0.7715 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.606, allocations: 3.406 kB / 0.7715 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.62, allocations: 6.693 MB / 0.778 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.623, allocations: 0.8167 MB / 0.7788 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008386/1.624, allocations: 71.69 kB / 0.7789 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/1.627, allocations: 149.5 kB / 0.779 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006435/1.627, allocations: 226.5 kB / 0.7792 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.628, allocations: 80.86 kB / 0.7793 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005188/1.633, allocations: 2.402 MB / 0.7817 GB, free: 19.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.633, allocations: 3.094 kB / 0.7817 GB, free: 19.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006538/1.639, allocations: 1.267 MB / 0.7829 GB, free: 19.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/1.641, allocations: 0.7027 MB / 0.7836 GB, free: 19.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008022/1.649, allocations: 4.191 MB / 0.7877 GB, free: 17.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.649, allocations: 0 / 0.7877 GB, free: 17.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005243/1.654, allocations: 2.902 MB / 0.7905 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.66, allocations: 1.034 MB / 0.7915 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.686, allocations: 10.28 MB / 0.8016 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005297/1.691, allocations: 4.457 MB / 0.8059 GB, free: 2.617 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005249/1.696, allocations: 0.8985 MB / 0.8068 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009778/1.697, allocations: 271.3 kB / 0.807 GB, free: 1.742 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/1.697, allocations: 0 / 0.807 GB, free: 1.742 MB / 410.7 MB Notification: Performance of Templates: time 0.3983/2.096, allocations: 60.98 MB / 0.8666 GB, free: 87.12 MB / 442.7 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)