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.0009152/0.0009153, allocations: 96.55 kB / 16.3 MB, free: 6.461 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.0008929/0.0008929, allocations: 177.6 kB / 17.19 MB, free: 6.344 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.258/1.258, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0007453/0.0007453, allocations: 12 kB / 280.1 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03043/0.1529, allocations: 24.12 MB / 351.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.1683, allocations: 8.307 MB / 360.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.1729, allocations: 151.5 kB / 360.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004963/0.1779, allocations: 1.574 MB / 361.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009122/0.1871, allocations: 3.069 MB / 364.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.1913, allocations: 1.298 MB / 366.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.2031, allocations: 7.281 MB / 373.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1821/0.3852, allocations: 9.888 MB / 383.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.3904, allocations: 2.897 MB / 386.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/0.3965, allocations: 3.251 MB / 389.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.3985, allocations: 471 kB / 390 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4017, allocations: 0.7465 MB / 390.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.4034, allocations: 1.489 MB / 392.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.406, allocations: 1.586 MB / 393.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4177, allocations: 13.02 MB / 406.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4178, allocations: 2.625 kB / 406.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.4178, allocations: 0 / 406.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003441/0.4181, allocations: 0 / 406.9 MB, free: 7.477 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02087/0.439, allocations: 8.202 MB / 415.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4391, allocations: 8.562 kB / 415.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/0.4667, allocations: 5.178 MB / 420.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.4773, allocations: 4.607 MB / 424.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/0.4778, allocations: 0.5338 MB / 425.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/0.4802, allocations: 0.7069 MB / 426.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02492/0.5051, allocations: 11.2 MB / 437.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.5054, allocations: 11.91 kB / 437.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.5066, allocations: 303.6 kB / 437.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000426/0.507, allocations: 457 kB / 438 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.5282, allocations: 10.74 MB / 448.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06548/0.5937, allocations: 38.03 MB / 486.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/0.6149, allocations: 28.05 MB / 0.5028 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/0.6306, allocations: 7.914 MB / 0.5105 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.6307, allocations: 60.52 kB / 0.5106 GB, free: 13.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=222): time 4.659e-06/0.6307, allocations: 0 / 0.5106 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.02039/0.6511, allocations: 10.4 MB / 0.5207 GB, free: 3.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001935/0.6531, allocations: 1.934 MB / 0.5226 GB, free: 1.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/0.6589, allocations: 3.677 MB / 0.5262 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004167/0.6594, allocations: 69.7 kB / 0.5263 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.6617, allocations: 3.545 MB / 0.5297 GB, free: 9.781 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008875/0.6626, allocations: 0.8518 MB / 0.5306 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.6628, allocations: 100 kB / 0.5307 GB, free: 8.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002877/0.6631, allocations: 0.5009 MB / 0.5312 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/0.6659, allocations: 1.895 MB / 0.533 GB, free: 6.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004441/0.6704, allocations: 4.432 MB / 0.5373 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.167/0.8374, allocations: 2.851 MB / 0.5401 GB, free: 148.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.005e-05/0.8375, allocations: 26.34 kB / 0.5402 GB, free: 148.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.01345/0.851, allocations: 7.029 MB / 0.547 GB, free: 146.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.8511, allocations: 46.44 kB / 0.5471 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.8513, allocations: 88.88 kB / 0.5471 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.8533, allocations: 0.7444 MB / 0.5479 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.8576, allocations: 1.157 MB / 0.549 GB, free: 146.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.8643, allocations: 5.379 MB / 0.5543 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/0.8684, allocations: 311.6 kB / 0.5546 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007611/0.8691, allocations: 280.1 kB / 0.5548 GB, free: 143.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004651/0.8738, allocations: 2.533 MB / 0.5573 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/0.8746, allocations: 382.8 kB / 0.5577 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007012/0.8816, allocations: 4.309 MB / 0.5619 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8817, allocations: 26.94 kB / 0.5619 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8817, allocations: 7.688 kB / 0.5619 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.8818, allocations: 18.67 kB / 0.5619 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/0.9041, allocations: 14.32 MB / 0.5759 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.9042, allocations: 11.72 kB / 0.5759 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.906, allocations: 0.4894 MB / 0.5764 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.9079, allocations: 0.6872 MB / 0.5771 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/0.9082, allocations: 71.55 kB / 0.5771 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/0.9153, allocations: 7.099 MB / 0.5841 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001305/0.9167, allocations: 1.876 MB / 0.5859 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/0.9253, allocations: 8.121 MB / 0.5938 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/0.9271, allocations: 0.7943 MB / 0.5946 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/0.9278, allocations: 63.94 kB / 0.5947 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.9296, allocations: 175.9 kB / 0.5948 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.9299, allocations: 221.5 kB / 0.595 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.9301, allocations: 92.84 kB / 0.5951 GB, free: 115.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003412/0.9335, allocations: 2.392 MB / 0.5975 GB, free: 113 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9336, allocations: 0 / 0.5975 GB, free: 113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005088/0.9386, allocations: 1.292 MB / 0.5987 GB, free: 111.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005168/0.9392, allocations: 224.1 kB / 0.5989 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007977/0.9472, allocations: 5.183 MB / 0.604 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.9472, allocations: 4 kB / 0.604 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/0.9509, allocations: 2.421 MB / 0.6064 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/0.9558, allocations: 0.9101 MB / 0.6073 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.9743, allocations: 14.75 MB / 0.6217 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/0.9778, allocations: 4.625 MB / 0.6262 GB, free: 83.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003757/0.9816, allocations: 1.395 MB / 0.6275 GB, free: 81.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.9822, allocations: 295.4 kB / 0.6278 GB, free: 81.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.9822, allocations: 4 kB / 0.6278 GB, free: 81.64 MB / 446.1 MB Notification: Performance of Templates: time 0.07462/1.057, allocations: 51.78 MB / 0.6784 GB, free: 29.83 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: