Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001853/0.001853, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.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.001137/0.001137, allocations: 55.91 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2118, allocations: 46.62 MB / 324.7 MB, free: 2.078 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02978/0.2416, allocations: 29.74 MB / 354.4 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.26, allocations: 8.571 MB / 363 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006393/0.2664, allocations: 159.5 kB / 363.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.2788, allocations: 4.56 MB / 367.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009979/0.2888, allocations: 2.702 MB / 370.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.2943, allocations: 1.509 MB / 371.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.3057, allocations: 8.975 MB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/0.3214, allocations: 10.28 MB / 391.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.3266, allocations: 3.593 MB / 394.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006223/0.3329, allocations: 4.487 MB / 399.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.335, allocations: 0.7305 MB / 400 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.339, allocations: 1.089 MB / 401.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002066/0.3411, allocations: 1.962 MB / 403.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006491/0.3476, allocations: 4.212 MB / 407.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.3659, allocations: 15.33 MB / 422.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3659, allocations: 0 / 422.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3659, allocations: 0 / 422.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005507/0.3665, allocations: 4 kB / 422.6 MB, free: 2.043 MB / 350.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.02867/0.3952, allocations: 9.775 MB / 432.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3952, allocations: 8.031 kB / 432.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.4237, allocations: 5.258 MB / 437.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00985/0.4336, allocations: 4.641 MB / 442.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/0.4341, allocations: 0.53 MB / 442.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.4364, allocations: 0.7068 MB / 443.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.459, allocations: 11.32 MB / 454.8 MB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.4592, allocations: 23.75 kB / 454.9 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.4603, allocations: 300 kB / 455.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003972/0.4607, allocations: 443 kB / 455.6 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1718/0.6325, allocations: 10.8 MB / 466.4 MB, free: 99.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.6851, allocations: 38 MB / 0.4926 GB, free: 66.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.6974, allocations: 28.1 MB / 0.52 GB, free: 34.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.7009, allocations: 2.651 MB / 0.5226 GB, free: 31.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.7118, allocations: 7.933 MB / 0.5304 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.7119, allocations: 64.55 kB / 0.5304 GB, free: 23.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 4.098e-06/0.7119, allocations: 0 / 0.5304 GB, free: 23.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.01682/0.7288, allocations: 10.35 MB / 0.5405 GB, free: 13.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001471/0.7303, allocations: 1.916 MB / 0.5424 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004329/0.7346, allocations: 3.826 MB / 0.5461 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.7349, allocations: 61.7 kB / 0.5462 GB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.7363, allocations: 3.547 MB / 0.5497 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005265/0.7368, allocations: 0.8277 MB / 0.5505 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.7378, allocations: 0.9529 MB / 0.5514 GB, free: 1.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.7379, allocations: 309.2 kB / 0.5517 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.7401, allocations: 1.891 MB / 0.5535 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004254/0.7444, allocations: 4.39 MB / 0.5578 GB, free: 10.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.7518, allocations: 6.784 MB / 0.5644 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-05/0.7519, allocations: 35.94 kB / 0.5645 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0108/0.7627, allocations: 6.976 MB / 0.5713 GB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.7628, allocations: 47.83 kB / 0.5713 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.7629, allocations: 88 kB / 0.5714 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.7648, allocations: 0.7404 MB / 0.5721 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.7682, allocations: 1.123 MB / 0.5732 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.775, allocations: 5.24 MB / 0.5784 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/0.779, allocations: 311.1 kB / 0.5787 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007417/0.7797, allocations: 276 kB / 0.5789 GB, free: 3.055 MB / 414.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.004058/0.7838, allocations: 2.526 MB / 0.5814 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008477/0.7846, allocations: 383.2 kB / 0.5818 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/0.7919, allocations: 4.271 MB / 0.5859 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.7919, allocations: 24 kB / 0.5859 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.792, allocations: 8 kB / 0.586 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.792, allocations: 11.95 kB / 0.586 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/0.8143, allocations: 14.28 MB / 0.5999 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.8143, allocations: 12 kB / 0.5999 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.8161, allocations: 487.2 kB / 0.6004 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.8181, allocations: 0.6937 MB / 0.6011 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.8183, allocations: 67.98 kB / 0.6011 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008403/0.8267, allocations: 6.944 MB / 0.6079 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001683/0.8284, allocations: 1.863 MB / 0.6097 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1762/1.005, allocations: 6.746 MB / 0.6163 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.007, allocations: 0.7883 MB / 0.6171 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007034/1.008, allocations: 67.91 kB / 0.6171 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.009, allocations: 167.8 kB / 0.6173 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/1.01, allocations: 218 kB / 0.6175 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.01, allocations: 87.05 kB / 0.6176 GB, free: 148.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003816/1.014, allocations: 2.514 MB / 0.6201 GB, free: 147.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.014, allocations: 2.719 kB / 0.6201 GB, free: 147.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005025/1.019, allocations: 1.289 MB / 0.6213 GB, free: 147.3 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.0005643/1.02, allocations: 227.7 kB / 0.6215 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006499/1.026, allocations: 5.141 MB / 0.6266 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.026, allocations: 3.562 kB / 0.6266 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003138/1.029, allocations: 2.409 MB / 0.6289 GB, free: 143.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/1.034, allocations: 0.9277 MB / 0.6298 GB, free: 143.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.051, allocations: 15.43 MB / 0.6449 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003538/1.055, allocations: 4.497 MB / 0.6493 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00371/1.059, allocations: 1.362 MB / 0.6506 GB, free: 130.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/1.059, allocations: 299 kB / 0.6509 GB, free: 130 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/1.059, allocations: 0 / 0.6509 GB, free: 130 MB / 446.1 MB Notification: Performance of Templates: time 0.07574/1.135, allocations: 54.73 MB / 0.7043 GB, free: 76.39 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)