Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001073, allocations: 115.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2104, allocations: 50.55 MB / 410 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.0258/0.2362, allocations: 27.11 MB / 437.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.2487, allocations: 7.519 MB / 444.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.2512, allocations: 175.4 kB / 444.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.2546, allocations: 1.844 MB / 446.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.2596, allocations: 2.438 MB / 449.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.2627, allocations: 1.558 MB / 450.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008005/0.2707, allocations: 8.746 MB / 459.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007441/0.2781, allocations: 7.437 MB / 466.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.2826, allocations: 4.089 MB / 470.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.2882, allocations: 4.932 MB / 475.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.2895, allocations: 1.137 MB / 477 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.2915, allocations: 1.371 MB / 478.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.2934, allocations: 2.548 MB / 480.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.2976, allocations: 4.788 MB / 485.7 MB, free: 5.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.31, allocations: 14.92 MB / 0.4889 GB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.31, allocations: 0 / 0.4889 GB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.31, allocations: 0 / 0.4889 GB, free: 6.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.3103, allocations: 0 / 0.4889 GB, free: 6.531 MB / 414.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.02079/0.331, allocations: 9.411 MB / 0.4981 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3311, allocations: 8.031 kB / 0.4981 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009027/0.3401, allocations: 1.755 MB / 0.4998 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008088/0.3482, allocations: 5.135 MB / 0.5048 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.3486, allocations: 0.5342 MB / 0.5053 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.3496, allocations: 0.7186 MB / 0.506 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/0.3648, allocations: 9.781 MB / 0.5156 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.365, allocations: 15.84 kB / 0.5156 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/0.3656, allocations: 303.9 kB / 0.5159 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.3659, allocations: 358.6 kB / 0.5162 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.3791, allocations: 8.314 MB / 0.5243 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3601/0.7392, allocations: 30.47 MB / 0.5541 GB, free: 101.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.7508, allocations: 17.25 MB / 0.5709 GB, free: 86.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005663/0.7565, allocations: 3.788 MB / 0.5746 GB, free: 85.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.768, allocations: 9.256 MB / 0.5837 GB, free: 79.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7681, allocations: 67.23 kB / 0.5837 GB, free: 79.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 5.119e-06/0.7681, allocations: 7.938 kB / 0.5837 GB, free: 79.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=289): time 0.02104/0.7891, allocations: 12.39 MB / 0.5958 GB, free: 70.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.7892, allocations: 77.69 kB / 0.5959 GB, free: 70.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/0.7935, allocations: 3.813 MB / 0.5996 GB, free: 66.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.7937, allocations: 73.7 kB / 0.5997 GB, free: 66.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7949, allocations: 3.254 MB / 0.6029 GB, free: 63.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.7954, allocations: 0.9846 MB / 0.6038 GB, free: 62.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.7963, allocations: 0.6529 MB / 0.6045 GB, free: 61.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.7963, allocations: 309.1 kB / 0.6048 GB, free: 61.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.7986, allocations: 1.534 MB / 0.6063 GB, free: 59.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.8012, allocations: 2.678 MB / 0.6089 GB, free: 56.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.8059, allocations: 4.51 MB / 0.6133 GB, free: 51.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.8059, allocations: 12 kB / 0.6133 GB, free: 51.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007055/0.813, allocations: 5.345 MB / 0.6185 GB, free: 46.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.813, allocations: 20.94 kB / 0.6185 GB, free: 46.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.813, allocations: 36 kB / 0.6186 GB, free: 46.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.8143, allocations: 0.5791 MB / 0.6191 GB, free: 45.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.8171, allocations: 0.8502 MB / 0.62 GB, free: 44.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/0.8237, allocations: 9.443 MB / 0.6292 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.8264, allocations: 175.7 kB / 0.6294 GB, free: 34.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.8266, allocations: 167.9 kB / 0.6295 GB, free: 34.34 MB / 462.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 (446): * Single equations (assignments): 440 * 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,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.8293, allocations: 2.152 MB / 0.6316 GB, free: 32.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.8298, allocations: 422.8 kB / 0.632 GB, free: 31.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006807/0.8366, allocations: 4.8 MB / 0.6367 GB, free: 26.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.8367, allocations: 15.94 kB / 0.6367 GB, free: 26.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8367, allocations: 4 kB / 0.6367 GB, free: 26.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.8379, allocations: 0.8161 MB / 0.6375 GB, free: 25.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/0.8384, allocations: 63.98 kB / 0.6376 GB, free: 25.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.8401, allocations: 139.9 kB / 0.6377 GB, free: 25.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.8405, allocations: 245.9 kB / 0.638 GB, free: 25.55 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00769/0.8482, allocations: 4.528 MB / 0.6424 GB, free: 21.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006325/0.8545, allocations: 5.33 MB / 0.6476 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001744/0.8563, allocations: 1.549 MB / 0.6491 GB, free: 14.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002926/0.8592, allocations: 2.584 MB / 0.6516 GB, free: 11.46 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.8592, allocations: 0 / 0.6516 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005272/0.8645, allocations: 3.483 MB / 0.655 GB, free: 7.906 MB / 462.1 MB Notification: Performance of SimCode: time 0.01779/0.8823, allocations: 13.41 MB / 0.6681 GB, free: 10.49 MB / 478.1 MB Notification: Performance of Templates: time 0.1095/0.9918, allocations: 67.53 MB / 0.7341 GB, free: 7.582 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1)