Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001672/0.001672, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009507/0.0009507, allocations: 55.91 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.213, allocations: 49.43 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.024/0.237, allocations: 25.41 MB / 426.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2491, allocations: 7.02 MB / 433.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.2512, allocations: 163.4 kB / 434.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.2544, allocations: 1.789 MB / 435.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.259, allocations: 2.386 MB / 438.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.2619, allocations: 1.495 MB / 439.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007376/0.2693, allocations: 8.519 MB / 448.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007223/0.2765, allocations: 7.418 MB / 455.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.2807, allocations: 4.023 MB / 459.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004732/0.2854, allocations: 4.62 MB / 464.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.2867, allocations: 1.133 MB / 465.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.2887, allocations: 1.347 MB / 466.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.2906, allocations: 2.524 MB / 469.3 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004008/0.2946, allocations: 4.719 MB / 474 MB, free: 15.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.3061, allocations: 14.75 MB / 488.8 MB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3061, allocations: 8 kB / 488.8 MB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3061, allocations: 0 / 488.8 MB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001754/0.3063, allocations: 0 / 488.8 MB, free: 1.164 MB / 398.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.0202/0.3265, allocations: 9.224 MB / 498 MB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3265, allocations: 8.031 kB / 498 MB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008906/0.3354, allocations: 1.732 MB / 499.8 MB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008465/0.3439, allocations: 5.027 MB / 0.4929 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.3443, allocations: 0.5381 MB / 0.4935 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000985/0.3453, allocations: 0.7071 MB / 0.4942 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.3605, allocations: 9.781 MB / 0.5037 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.3606, allocations: 19.83 kB / 0.5037 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006858/0.3613, allocations: 300 kB / 0.504 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/0.3616, allocations: 350.6 kB / 0.5044 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.3756, allocations: 8.307 MB / 0.5125 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3785/0.7541, allocations: 30.08 MB / 0.5418 GB, free: 114.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.7655, allocations: 16.08 MB / 0.5575 GB, free: 102.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003625/0.7691, allocations: 3.039 MB / 0.5605 GB, free: 101.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.7803, allocations: 8.055 MB / 0.5684 GB, free: 97.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.7804, allocations: 67.77 kB / 0.5684 GB, free: 97.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 3.897e-06/0.7804, allocations: 0 / 0.5684 GB, free: 97.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=289): time 0.01915/0.7995, allocations: 11.62 MB / 0.5798 GB, free: 91.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7996, allocations: 79.97 kB / 0.5799 GB, free: 91.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.8036, allocations: 3.637 MB / 0.5834 GB, free: 89.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.8038, allocations: 81.62 kB / 0.5835 GB, free: 89.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.8051, allocations: 3.176 MB / 0.5866 GB, free: 86.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.8055, allocations: 0.9988 MB / 0.5876 GB, free: 85.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007733/0.8063, allocations: 0.6452 MB / 0.5882 GB, free: 84.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.8064, allocations: 301.1 kB / 0.5885 GB, free: 84.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.8083, allocations: 1.487 MB / 0.5899 GB, free: 82.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.8106, allocations: 2.619 MB / 0.5925 GB, free: 79.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.815, allocations: 4.393 MB / 0.5968 GB, free: 74.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.8151, allocations: 12 kB / 0.5968 GB, free: 74.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006313/0.8214, allocations: 5.025 MB / 0.6017 GB, free: 69.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.8214, allocations: 20 kB / 0.6017 GB, free: 69.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.8215, allocations: 36 kB / 0.6018 GB, free: 69.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008026/0.8223, allocations: 406 kB / 0.6021 GB, free: 69.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.8252, allocations: 0.8541 MB / 0.603 GB, free: 68.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004774/0.83, allocations: 7.983 MB / 0.6108 GB, free: 59.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.8324, allocations: 167.8 kB / 0.6109 GB, free: 59.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.8326, allocations: 164 kB / 0.6111 GB, free: 59.54 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 (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.002603/0.8352, allocations: 2.144 MB / 0.6132 GB, free: 57.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.8356, allocations: 395.1 kB / 0.6136 GB, free: 56.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00661/0.8422, allocations: 4.478 MB / 0.6179 GB, free: 52.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.8423, allocations: 15.94 kB / 0.6179 GB, free: 52.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8423, allocations: 0 / 0.6179 GB, free: 52.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.8436, allocations: 0.7929 MB / 0.6187 GB, free: 51.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.8441, allocations: 60.12 kB / 0.6188 GB, free: 51.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.8458, allocations: 135.9 kB / 0.6189 GB, free: 51.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/0.8461, allocations: 241.9 kB / 0.6191 GB, free: 51.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007665/0.8538, allocations: 4.343 MB / 0.6234 GB, free: 46.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006086/0.8599, allocations: 5.223 MB / 0.6285 GB, free: 41.5 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001717/0.8616, allocations: 1.521 MB / 0.63 GB, free: 39.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002775/0.8644, allocations: 2.465 MB / 0.6324 GB, free: 37.52 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.8644, allocations: 0 / 0.6324 GB, free: 37.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004823/0.8692, allocations: 3.36 MB / 0.6357 GB, free: 34.1 MB / 462.1 MB Notification: Performance of SimCode: time 0.0155/0.8848, allocations: 13.1 MB / 0.6485 GB, free: 20.97 MB / 462.1 MB Notification: Performance of Templates: time 0.09826/0.983, allocations: 64.22 MB / 0.7112 GB, free: 5.434 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1)