Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008859, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001012/0.001012, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.389/1.389, allocations: 205.4 MB / 223.7 MB, free: 12.98 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.0004455/0.0004454, allocations: 15.98 kB / 280.8 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08811, allocations: 47.59 MB / 328.3 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02975/0.1179, allocations: 28.56 MB / 356.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.1367, allocations: 8.484 MB / 365.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005426/0.1422, allocations: 159.4 kB / 365.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005752/0.148, allocations: 1.547 MB / 367.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00984/0.1579, allocations: 2.691 MB / 369.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.1622, allocations: 1.392 MB / 371.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.173/0.3352, allocations: 8.965 MB / 380.1 MB, free: 13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01916/0.3544, allocations: 12.03 MB / 392.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/0.3596, allocations: 3.046 MB / 395.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00576/0.3654, allocations: 3.798 MB / 399 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.3669, allocations: 478.4 kB / 399.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.3697, allocations: 0.8268 MB / 400.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.371, allocations: 1.591 MB / 401.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.3751, allocations: 3.797 MB / 405.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.386, allocations: 14.77 MB / 420.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.386, allocations: 0 / 420.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.386, allocations: 0 / 420.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004002/0.3864, allocations: 0 / 420.5 MB, free: 15.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02338/0.4098, allocations: 8.194 MB / 428.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4099, allocations: 12.03 kB / 428.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0293/0.4392, allocations: 5.282 MB / 434 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009222/0.4484, allocations: 4.648 MB / 438.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.4489, allocations: 0.5329 MB / 439.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.4508, allocations: 0.7206 MB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.4759, allocations: 11.31 MB / 451.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.4762, allocations: 19.8 kB / 451.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.4774, allocations: 301.2 kB / 451.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/0.4778, allocations: 439 kB / 451.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.5006, allocations: 10.81 MB / 462.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0604/0.5611, allocations: 38.12 MB / 0.4891 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/0.5814, allocations: 28.1 MB / 0.5165 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/0.5858, allocations: 2.651 MB / 0.5191 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.5989, allocations: 7.928 MB / 0.5269 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.599, allocations: 60.56 kB / 0.5269 GB, free: 4.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.419e-06/0.5991, allocations: 0 / 0.5269 GB, free: 4.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.1725/0.7715, allocations: 10.38 MB / 0.5371 GB, free: 151.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001593/0.7731, allocations: 1.906 MB / 0.5389 GB, free: 150.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006849/0.78, allocations: 3.817 MB / 0.5427 GB, free: 148.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/0.7804, allocations: 68.11 kB / 0.5427 GB, free: 148.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.7826, allocations: 3.553 MB / 0.5462 GB, free: 145.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000767/0.7834, allocations: 0.8275 MB / 0.547 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.7839, allocations: 384.2 kB / 0.5474 GB, free: 145.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.7839, allocations: 305.1 kB / 0.5477 GB, free: 144.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.7866, allocations: 1.894 MB / 0.5495 GB, free: 144.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003586/0.7902, allocations: 4.391 MB / 0.5538 GB, free: 140.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006421/0.7967, allocations: 6.792 MB / 0.5604 GB, free: 134.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.635e-05/0.7967, allocations: 27.53 kB / 0.5605 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01092/0.8077, allocations: 6.981 MB / 0.5673 GB, free: 131.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.8078, allocations: 39.56 kB / 0.5673 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.8079, allocations: 91.78 kB / 0.5674 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.8097, allocations: 0.7407 MB / 0.5681 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.813, allocations: 1.116 MB / 0.5692 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/0.8187, allocations: 5.242 MB / 0.5743 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/0.8237, allocations: 311.4 kB / 0.5746 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005161/0.8242, allocations: 272.5 kB / 0.5749 GB, free: 128.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004743/0.829, allocations: 2.527 MB / 0.5774 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009367/0.8299, allocations: 383.4 kB / 0.5777 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/0.8362, allocations: 4.28 MB / 0.5819 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.8363, allocations: 27.5 kB / 0.5819 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.8363, allocations: 4 kB / 0.5819 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.8363, allocations: 11.44 kB / 0.5819 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.855, allocations: 14.28 MB / 0.5959 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.855, allocations: 12 kB / 0.5959 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.8567, allocations: 479.4 kB / 0.5964 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.8586, allocations: 0.6933 MB / 0.597 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.8587, allocations: 72.69 kB / 0.5971 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/0.8656, allocations: 6.946 MB / 0.6039 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001229/0.8668, allocations: 1.862 MB / 0.6057 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/0.8751, allocations: 6.742 MB / 0.6123 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.8772, allocations: 0.7928 MB / 0.6131 GB, free: 93.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007499/0.8779, allocations: 67.92 kB / 0.6131 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.8798, allocations: 167.9 kB / 0.6133 GB, free: 92.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.8802, allocations: 221.5 kB / 0.6135 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.8803, allocations: 83.98 kB / 0.6136 GB, free: 92.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003344/0.8837, allocations: 2.517 MB / 0.616 GB, free: 90.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8837, allocations: 0 / 0.616 GB, free: 90.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005674/0.8894, allocations: 1.291 MB / 0.6173 GB, free: 88.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005891/0.89, allocations: 228.4 kB / 0.6175 GB, free: 88.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006858/0.8969, allocations: 5.14 MB / 0.6225 GB, free: 83.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.8969, allocations: 4 kB / 0.6225 GB, free: 83.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.8999, allocations: 2.41 MB / 0.6249 GB, free: 80.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/0.9099, allocations: 0.9511 MB / 0.6258 GB, free: 79.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.9283, allocations: 15.48 MB / 0.6409 GB, free: 64.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/0.9319, allocations: 4.5 MB / 0.6453 GB, free: 59.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003893/0.9358, allocations: 1.356 MB / 0.6467 GB, free: 58.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/0.9367, allocations: 299.4 kB / 0.6469 GB, free: 58.11 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.9367, allocations: 0 / 0.6469 GB, free: 58.11 MB / 446.1 MB Notification: Performance of Templates: time 0.2516/1.188, allocations: 54.01 MB / 0.6997 GB, free: 136.6 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)