Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001165/0.001165, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001235/0.001235, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004553/0.0004554, allocations: 18.64 kB / 278.9 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02826/0.2605, allocations: 26.51 MB / 353 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.2805, allocations: 8.016 MB / 361 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007896/0.2885, allocations: 159.5 kB / 361.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006596/0.2951, allocations: 1.251 MB / 362.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.3064, allocations: 2.43 MB / 364.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.3112, allocations: 1.057 MB / 365.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.3274, allocations: 9.95 MB / 375.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02122/0.3486, allocations: 9.97 MB / 385.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.3553, allocations: 3.138 MB / 389 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.3629, allocations: 3.63 MB / 392.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002846/0.3658, allocations: 476 kB / 393.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004659/0.3705, allocations: 0.7965 MB / 393.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.3736, allocations: 1.565 MB / 395.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.3771, allocations: 1.588 MB / 397 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.395, allocations: 13.1 MB / 410.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3951, allocations: 0 / 410.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.3951, allocations: 4 kB / 410.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005613/0.3957, allocations: 0 / 410.1 MB, free: 15.55 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.02576/0.4214, allocations: 8.265 MB / 418.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.4215, allocations: 8.031 kB / 418.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/0.4505, allocations: 5.277 MB / 423.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.4606, allocations: 4.576 MB / 428.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005485/0.4612, allocations: 0.5378 MB / 428.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.4637, allocations: 0.7107 MB / 429.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.4896, allocations: 11.26 MB / 440.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003614/0.49, allocations: 15.84 kB / 440.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/0.4924, allocations: 300 kB / 441.1 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007737/0.4932, allocations: 447 kB / 441.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02352/0.5167, allocations: 10.74 MB / 452.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2334/0.7501, allocations: 38.09 MB / 490.3 MB, free: 77.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.7644, allocations: 28.07 MB / 0.5063 GB, free: 48.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.7684, allocations: 2.647 MB / 0.5088 GB, free: 45.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.782, allocations: 7.933 MB / 0.5166 GB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.7821, allocations: 64.5 kB / 0.5167 GB, free: 37.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 3.837e-06/0.7821, allocations: 3.938 kB / 0.5167 GB, free: 37.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.02141/0.8035, allocations: 11.07 MB / 0.5275 GB, free: 26.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001694/0.8052, allocations: 1.904 MB / 0.5293 GB, free: 24.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006915/0.8122, allocations: 3.791 MB / 0.533 GB, free: 20.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.8126, allocations: 69.64 kB / 0.5331 GB, free: 20.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.8144, allocations: 3.559 MB / 0.5366 GB, free: 17.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000799/0.8152, allocations: 0.8201 MB / 0.5374 GB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.8156, allocations: 100 kB / 0.5375 GB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.8159, allocations: 0.4968 MB / 0.538 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.8186, allocations: 1.872 MB / 0.5398 GB, free: 14.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003603/0.8222, allocations: 4.372 MB / 0.5441 GB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/0.8259, allocations: 2.812 MB / 0.5468 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.446e-05/0.826, allocations: 32 kB / 0.5468 GB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0118/0.8378, allocations: 6.941 MB / 0.5536 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.838, allocations: 47.94 kB / 0.5537 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.8381, allocations: 88 kB / 0.5537 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.8402, allocations: 0.744 MB / 0.5545 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.8442, allocations: 1.112 MB / 0.5555 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.8516, allocations: 5.229 MB / 0.5607 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/0.8555, allocations: 315 kB / 0.561 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/0.8564, allocations: 276 kB / 0.5612 GB, free: 6.695 MB / 398.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 (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.00546/0.8619, allocations: 2.522 MB / 0.5637 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.8631, allocations: 387.2 kB / 0.564 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/0.8713, allocations: 4.263 MB / 0.5682 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.8713, allocations: 24 kB / 0.5682 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.8713, allocations: 8 kB / 0.5682 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/0.8713, allocations: 19.89 kB / 0.5683 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/0.9004, allocations: 14.26 MB / 0.5822 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.9005, allocations: 12 kB / 0.5822 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.9023, allocations: 476.2 kB / 0.5827 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.9043, allocations: 0.6971 MB / 0.5833 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.9046, allocations: 67.98 kB / 0.5834 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009063/0.9136, allocations: 6.941 MB / 0.5902 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001816/0.9155, allocations: 1.862 MB / 0.592 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.9266, allocations: 6.71 MB / 0.5985 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/0.9295, allocations: 0.8006 MB / 0.5993 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/0.9312, allocations: 52 kB / 0.5994 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/0.9342, allocations: 171.9 kB / 0.5995 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/0.9348, allocations: 221.4 kB / 0.5998 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002837/0.9351, allocations: 91.98 kB / 0.5998 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005675/0.9408, allocations: 2.478 MB / 0.6023 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9408, allocations: 0 / 0.6023 GB, free: 11.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006964/0.9478, allocations: 1.292 MB / 0.6035 GB, free: 10.45 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 (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.0008576/0.9487, allocations: 231.4 kB / 0.6037 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009649/0.9583, allocations: 5.1 MB / 0.6087 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.9584, allocations: 4.125 kB / 0.6087 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.9626, allocations: 2.419 MB / 0.6111 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/0.968, allocations: 0.9462 MB / 0.612 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1969/1.165, allocations: 14.75 MB / 0.6264 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/1.169, allocations: 4.498 MB / 0.6308 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003894/1.173, allocations: 1.355 MB / 0.6321 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/1.174, allocations: 295.4 kB / 0.6324 GB, free: 150 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/1.174, allocations: 3.609 kB / 0.6324 GB, free: 150 MB / 446.1 MB Notification: Performance of Templates: time 0.07954/1.254, allocations: 52.79 MB / 0.684 GB, free: 101.4 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)