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.001452/0.001452, allocations: 108.8 kB / 16.51 MB, free: 6.707 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.001618/0.001618, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.337/1.337, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001261/0.001261, allocations: 44.22 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.09009, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02468/0.1148, allocations: 24.96 MB / 350.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1278, allocations: 6.982 MB / 357.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004376/0.1322, allocations: 139.4 kB / 358 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005489/0.1377, allocations: 1.457 MB / 359.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.145, allocations: 2.043 MB / 361.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.1494, allocations: 1.4 MB / 362.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01439/0.1638, allocations: 8.96 MB / 371.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.1752, allocations: 6.038 MB / 377.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1725/0.3478, allocations: 3.225 MB / 381.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006881/0.3547, allocations: 4.256 MB / 385.4 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.3567, allocations: 0.6656 MB / 386.1 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.3597, allocations: 0.8759 MB / 387 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.3615, allocations: 2.026 MB / 389 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005263/0.3668, allocations: 4.207 MB / 393.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.3775, allocations: 14.23 MB / 407.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3776, allocations: 0 / 407.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3776, allocations: 0 / 407.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003395/0.3779, allocations: 0 / 407.4 MB, free: 8.711 MB / 318.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.02154/0.3995, allocations: 9.211 MB / 416.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3995, allocations: 10.25 kB / 416.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.4084, allocations: 1.747 MB / 418.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007911/0.4163, allocations: 4.607 MB / 423 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.4167, allocations: 0.5412 MB / 423.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.4182, allocations: 0.7117 MB / 424.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.4371, allocations: 9.778 MB / 434 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.4373, allocations: 11.36 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009094/0.4382, allocations: 299.3 kB / 434.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.4385, allocations: 354.6 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.4541, allocations: 8.282 MB / 443 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04731/0.5014, allocations: 30.49 MB / 473.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/0.5158, allocations: 16.07 MB / 489.5 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004589/0.5205, allocations: 3.044 MB / 492.6 MB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.5344, allocations: 8.09 MB / 0.4889 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.5345, allocations: 64.78 kB / 0.489 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=281): time 4.569e-06/0.5345, allocations: 0 / 0.489 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=289): time 0.02318/0.5577, allocations: 11.58 MB / 0.5003 GB, free: 3.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.5578, allocations: 85.06 kB / 0.5004 GB, free: 3.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005892/0.5637, allocations: 3.649 MB / 0.5039 GB, free: 12 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.564, allocations: 73.7 kB / 0.504 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.5661, allocations: 3.186 MB / 0.5071 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/0.567, allocations: 0.9831 MB / 0.5081 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/0.568, allocations: 0.6529 MB / 0.5087 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.5681, allocations: 305.1 kB / 0.509 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.5705, allocations: 1.483 MB / 0.5105 GB, free: 9.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.5736, allocations: 2.628 MB / 0.513 GB, free: 6.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005673/0.5792, allocations: 4.387 MB / 0.5173 GB, free: 1.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.5793, allocations: 8 kB / 0.5173 GB, free: 1.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008047/0.5873, allocations: 5.019 MB / 0.5222 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.5874, allocations: 23.98 kB / 0.5222 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-05/0.5875, allocations: 43.92 kB / 0.5223 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.5885, allocations: 404 kB / 0.5227 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.5916, allocations: 0.8624 MB / 0.5235 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.5978, allocations: 7.337 MB / 0.5307 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.6007, allocations: 171.9 kB / 0.5308 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/0.6011, allocations: 164 kB / 0.531 GB, free: 3.113 MB / 446.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.004116/0.6052, allocations: 2.142 MB / 0.5331 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008606/0.6061, allocations: 399.1 kB / 0.5335 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1862/0.7923, allocations: 4.458 MB / 0.5378 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.7924, allocations: 28.38 kB / 0.5378 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.7924, allocations: 13.09 kB / 0.5379 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.7924, allocations: 18.64 kB / 0.5379 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.8112, allocations: 10.47 MB / 0.5481 GB, free: 149.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.8113, allocations: 4.125 kB / 0.5481 GB, free: 149.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/0.8132, allocations: 442.3 kB / 0.5485 GB, free: 149.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.8155, allocations: 0.8702 MB / 0.5494 GB, free: 149.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.8157, allocations: 75.8 kB / 0.5494 GB, free: 149.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.8285, allocations: 16.19 MB / 0.5653 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.8286, allocations: 9.031 kB / 0.5653 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009081/0.8377, allocations: 6.423 MB / 0.5715 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/0.8397, allocations: 0.805 MB / 0.5723 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005736/0.8402, allocations: 67.06 kB / 0.5724 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.842, allocations: 139.4 kB / 0.5725 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.8426, allocations: 222.8 kB / 0.5727 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.8428, allocations: 83.36 kB / 0.5728 GB, free: 133.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003858/0.8466, allocations: 2.468 MB / 0.5752 GB, free: 132.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8466, allocations: 0 / 0.5752 GB, free: 132.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00395/0.8506, allocations: 1.212 MB / 0.5764 GB, free: 131.9 MB / 446.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.0003882/0.851, allocations: 214.2 kB / 0.5766 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005096/0.8561, allocations: 4.354 MB / 0.5809 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8561, allocations: 1.938 kB / 0.5809 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.8595, allocations: 2.985 MB / 0.5838 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.8635, allocations: 1.053 MB / 0.5848 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.8823, allocations: 15.63 MB / 0.6001 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/0.8859, allocations: 4.347 MB / 0.6043 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002806/0.8887, allocations: 0.8942 MB / 0.6052 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/0.8895, allocations: 275.4 kB / 0.6055 GB, free: 103.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.8895, allocations: 0 / 0.6055 GB, free: 103.2 MB / 446.1 MB Notification: Performance of Templates: time 0.07968/0.9692, allocations: 57.77 MB / 0.6619 GB, free: 45.36 MB / 446.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)